From cc6e35165a0c477b70f030ad00fb541d98ece66b Mon Sep 17 00:00:00 2001 From: Dolan Date: Fri, 26 Oct 2018 02:00:45 +0100 Subject: [PATCH] Add codecov and add more tests to travis --- .travis.yml | 12 ++++++++++++ src/file/paragraph/formatting/tab-stop.spec.ts | 1 + 2 files changed, 13 insertions(+) diff --git a/.travis.yml b/.travis.yml index 373070eeb8..0b37bef51f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ node_js: - 9 install: - npm install + - npm install -g codecov script: - npm run lint - npm test @@ -32,12 +33,23 @@ script: - npm run ts-node -- ./demo/demo22.ts - npm run ts-node -- ./demo/demo23.ts - npm run ts-node -- ./demo/demo24.ts + - npm run ts-node -- ./demo/demo25.ts + - npm run ts-node -- ./demo/demo26.ts + - npm run ts-node -- ./demo/demo27.ts + - npm run ts-node -- ./demo/demo28.ts + - npm run ts-node -- ./demo/demo29.ts + - npm run ts-node -- ./demo/demo30.ts + - npm run ts-node -- ./demo/demo31.ts + - npm run ts-node -- ./demo/demo32.ts + - npm run ts-node -- ./demo/demo33.ts + - npm run ts-node -- ./demo/demo34.ts after_failure: - "cat /home/travis/builds/dolanmiu/docx/npm-debug.log" after_success: - npm run typedoc - echo "docx.js.org" > docs/.nojekyll - echo "docx.js.org" > docs/CNAME + - codecov deploy: provider: pages skip-cleanup: true diff --git a/src/file/paragraph/formatting/tab-stop.spec.ts b/src/file/paragraph/formatting/tab-stop.spec.ts index 255d7394e5..0b048bef98 100644 --- a/src/file/paragraph/formatting/tab-stop.spec.ts +++ b/src/file/paragraph/formatting/tab-stop.spec.ts @@ -1,6 +1,7 @@ import { assert } from "chai"; import { Utility } from "tests/utility"; + import { LeftTabStop, MaxRightTabStop, RightTabStop } from "./tab-stop"; describe("LeftTabStop", () => {