Skip to content

Commit

Permalink
make travis build before deploying
Browse files Browse the repository at this point in the history
  • Loading branch information
Sid Nutulapati committed Feb 4, 2019
1 parent bba41d5 commit 3797bb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ deploy:
provider: npm
email: $NPM_EMAIL
api_key: $NPM_KEY
before_deploy: "npm run build"
on:
branch: master
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"test": "tsc --project . && nyc mocha -r ts-node/register test/unit-tests/index.test.ts && nyc report --reporter=text-summary",
"integration-test": "node ./node_modules/istanbul/lib/cli.js test _mocha test/integration-tests -- -R spec",
"lint": "tslint --project .",
"build": "tsc --project . && npm publish"
"build": "tsc --project ."
},
"files": [
"*.js",
Expand Down

0 comments on commit 3797bb5

Please sign in to comment.