Skip to content

Commit

Permalink
(ci): add Travis CI support
Browse files Browse the repository at this point in the history
- don't have tests yet, so for now just test compile/build and pack
  - modify the test script command to do so for now
    - `npm test` is also the default script in Travis
  • Loading branch information
agilgur5 committed Jul 20, 2019
1 parent 81c5bb4 commit f254aaf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
language: node_js
# default is the very old 0.10.48; match local version instead
node_js: '8.9'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "echo \"Error: no test specified\" && exit 1"
"test": "npm run build && npm pack"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit f254aaf

Please sign in to comment.