Skip to content

Commit

Permalink
build: install istanbul for Node.js 0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Nov 5, 2018
1 parent 6f23fca commit 2eff748
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ before_install:
fi
- |
# istanbul for coverage
# - remove on Node.js < 0.10
# - use 0.3.x on Node.js < 0.10
if [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -eq 0 && "$(cut -d. -f2 <<< "$TRAVIS_NODE_VERSION")" -lt 10 ]]; then
npm rm --silent --save-dev istanbul
npm install --save-dev istanbul@0.3.22
fi
- |
# supertest for http calls
Expand Down

0 comments on commit 2eff748

Please sign in to comment.