2015-08-24 13:32:45 +00:00
|
|
|
sudo: false
|
2013-11-08 17:50:25 +00:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2016-05-03 13:55:37 +00:00
|
|
|
- "6"
|
2017-08-03 10:02:26 +00:00
|
|
|
- "8"
|
2018-05-29 06:55:15 +00:00
|
|
|
- "10"
|
2019-04-29 07:13:05 +00:00
|
|
|
- "12"
|
2017-03-15 09:22:12 +00:00
|
|
|
|
2017-01-31 12:22:22 +00:00
|
|
|
after_success: npm run coverage
|
2015-02-24 07:25:13 +00:00
|
|
|
|
2017-02-22 14:19:55 +00:00
|
|
|
# see https://www.npmjs.com/package/phantomjs-prebuilt#continuous-integration
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- travis_phantomjs
|
|
|
|
before_install:
|
2017-07-25 18:38:37 +00:00
|
|
|
- npm config set registry http://ci.strongloop.com:4873/
|
2017-02-22 14:19:55 +00:00
|
|
|
# Upgrade PhantomJS to v2.1.1.
|
|
|
|
- "export PHANTOMJS_VERSION=2.1.1"
|
|
|
|
- "export PATH=$PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin:$PATH"
|
|
|
|
- "if [ $(phantomjs --version) != $PHANTOMJS_VERSION ]; then rm -rf $PWD/travis_phantomjs; mkdir -p $PWD/travis_phantomjs; fi"
|
|
|
|
- "if [ $(phantomjs --version) != $PHANTOMJS_VERSION ]; then wget https://github.com/Medium/phantomjs/releases/download/v$PHANTOMJS_VERSION/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 -O $PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2; fi"
|
|
|
|
- "if [ $(phantomjs --version) != $PHANTOMJS_VERSION ]; then tar -xvf $PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs; fi"
|
|
|
|
- "phantomjs --version"
|