Skip to content

Commit

Permalink
travis: Remove explicit npm reinstall
Browse files Browse the repository at this point in the history
This also aims to kick off a new PR build, as the previous commit
triggered a new push build with the new commit, but the new PR build was
still using the previous one:

Push: https://travis-ci.org/mbland/custom-links/builds/257941056
PR:   https://travis-ci.org/mbland/custom-links/builds/257941053

Of note is that the `if [[ ( "$TRAVIS_PULL_REQUEST" ...` bit appears in
the former's logs, but not in the latter's.
  • Loading branch information
mbland committed Jul 26, 2017
1 parent 718f3d1 commit 70c21b3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- export PATH=$PWD/node_modules/phantomjs-prebuilt/lib/phantom/bin:$PATH
- npm install -g npm@^5.0.1
- if [[ ( "$TRAVIS_PULL_REQUEST" != 'false' || "$TRAVIS_BRANCH" == 'master' ) && "$TRAVIS_JOB_NUMBER" =~ [.]1$ ]]; then curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter; chmod +x ./cc-test-reporter; fi
script:
- "./go setup"
Expand Down

0 comments on commit 70c21b3

Please sign in to comment.