Skip to content

Commit

Permalink
Setup Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
konrad-powazka committed Sep 15, 2018
1 parent 32f5599 commit 4c57da7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
language: node_js
node_js:
- "8"
script:
- npm run build
- npm run test
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@
"typescript": "^3.0.3"
},
"scripts": {
"build": "npm run clean && tsc",
"build": "npm run clean-dist && tsc",
"test": "npm run build-tests && mocha ./tests/bin/tests/**/*test.js",
"build-tests": "npm run clean && tsc -p ./tests && node ./tests/bin/tests/build.js",
"clean": "rimraf dist/** && rimraf tests/bin/**",
"build-tests": "npm run clean-tests && tsc -p ./tests && node ./tests/bin/tests/build.js",
"clean": "npm run clean-dist && npm run clean-tests",
"clean-dist": "rimraf dist/**",
"clean-tests": "rimraf tests/bin/**",
"lint": "./node_modules/.bin/tslint src/**/*.ts tests/**/*.ts -t verbose"
},
"author": "Konrad Powązka",
Expand Down

0 comments on commit 4c57da7

Please sign in to comment.