Skip to content

Commit

Permalink
Only run linting once on Travis
Browse files Browse the repository at this point in the history
This also fixes a bug where eslint on 0.12.x would fail as one of its
dependencies used ES6 features.
  • Loading branch information
fatso83 committed Jul 13, 2016
1 parent e9fe5a8 commit b3937ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ env:

script:
- "./script/ci-test.sh"
- 'if [ "x$TRAVIS_NODE_VERSION" = "x4.2" ]; then npm run lint; fi'
- 'if [ "x$TRAVIS_NODE_VERSION" = "x4.2" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then npm run test-cloud; fi'

3 changes: 1 addition & 2 deletions script/ci-test.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env bash
set -eu

npm run lint
npm run test-node
npm run test-headless
npm run test-headless

0 comments on commit b3937ac

Please sign in to comment.