Skip to content

Commit

Permalink
More adjustments for Appveyor CI and Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mikermcneil committed Mar 24, 2018
1 parent c7be9c1 commit 7e84179
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ branches:
notifications:
email:
- [email protected]

env:
- NODE_ENV=production
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ test_script:
- node --version
- npm --version
# Run the actual tests.
- npm run custom-tests && node ./node_modules/mocha/bin/mocha test/*.benchmark.js
- npm run custom-tests && mocha test/*.benchmark.js


# Don't actually build.
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"description": "Practical, lightweight flow control for Node.js. Supports `await`, callbacks and promises.",
"main": "lib/parley.js",
"scripts": {
"custom-tests": "node ./node_modules/mocha/bin/mocha test/*.test.js",
"lint": "node ./node_modules/eslint/bin/eslint . --max-warnings=0 --ignore-pattern 'test/' && echo '✔ Your code looks good.'",
"bench": "node ./node_modules/mocha/bin/mocha test/*.benchmark.js",
"custom-tests": "mocha test/*.test.js",
"lint": "node eslint . --max-warnings=0 --ignore-pattern 'test/' && echo '✔ Your code looks good.'",
"bench": "node mocha test/*.benchmark.js",
"test": "npm run lint && npm run custom-tests && npm run bench"
},
"repository": {
Expand Down

0 comments on commit 7e84179

Please sign in to comment.