From fc3858337fe5d49b4430c38e969cc6fd40955fed Mon Sep 17 00:00:00 2001 From: "Herman J. Radtke III" Date: Wed, 12 Aug 2020 08:19:08 -0700 Subject: [PATCH] Add Travis CI --- .travis.yml | 13 +++++++++++++ tsconfig.json | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..09b1f4c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +language: node_js +node_js: + - 'lts/*' + +env: + global: + - NODE_ENV=test + +script: npm run build + +branches: + only: + - master diff --git a/tsconfig.json b/tsconfig.json index da31161..cbabf4d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "target": "es2017", - "outDir": "build/main", + "outDir": "build", "rootDir": "src", "moduleResolution": "node", "module": "commonjs",