diff options
author | XhmikosR <xhmikosr@gmail.com> | 2019-02-19 12:57:26 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2019-02-19 13:23:37 +0300 |
commit | a4f260d0a864c2c0269d2fb563a9408aa8b689da (patch) | |
tree | 1a2ac52ce230e99b31ef632ec72b892e6dcc5cc9 /.travis.yml | |
parent | 3731f0d271d19be4876a4cb5672c18fda2baec14 (diff) |
Drop Node.js < 8 support.
Node.js 6 goes EOL on April 2019.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index 8d29d0a604..a748ccb788 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,22 +4,22 @@ language: node_js git: depth: 3 node_js: - - "6" - "8" + - "10" install: - bundle install --deployment --jobs=3 --retry=3 --clean - - npm install + - npm ci before_script: - google-chrome-stable --product-version script: - npm test || travis_terminate 1 - - if [[ "$TRAVIS_NODE_VERSION" = "8" ]]; then npm run linkinator; fi - - if [[ "$TRAVIS_NODE_VERSION" = "8" && "$TRAVIS_EVENT_TYPE" = "push" && ! `git log --format=%B --no-merges -n 1 | grep '\[skip browser\]'` ]]; then npm run js-test-cloud; fi + - if [[ "$TRAVIS_NODE_VERSION" = "10" ]]; then npm run linkinator; fi + - if [[ "$TRAVIS_NODE_VERSION" = "10" && "$TRAVIS_EVENT_TYPE" = "push" && ! `git log --format=%B --no-merges -n 1 | grep '\[skip browser\]'` ]]; then npm run js-test-cloud; fi after_success: - - if [[ "$TRAVIS_NODE_VERSION" = "8" ]]; then npm run coveralls; fi + - if [[ "$TRAVIS_NODE_VERSION" = "10" ]]; then npm run coveralls; fi cache: directories: - - node_modules + - "$HOME/.npm" - vendor/bundle notifications: email: false |