Skip to content

Commit

Permalink
chore(): add npm script test-ci
Browse files Browse the repository at this point in the history
Adds a npm script for running testem in CI mode
Configures travis to run 'npm run test-ci'
  • Loading branch information
TylorS committed Dec 8, 2015
1 parent 18022a6 commit fd25e9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
script: npm run test-ci
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"posttest-browser": "rm test/browser/page/tests-bundle.js",
"test-browser": "testem",
"test": "npm run eslint && npm run test-browser",
"test-ci": "testem ci",
"start": "npm install && npm prune && validate-commit-msg",
"precompile": "rm -rf lib/ && mkdir -p lib",
"compile": "babel -d lib/ src/",
Expand Down

0 comments on commit fd25e9d

Please sign in to comment.