diff options
author | XhmikosR <xhmikosr@gmail.com> | 2020-05-05 09:41:18 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2020-05-05 09:41:18 +0300 |
commit | bc415dd4d5a4cd7c40b2c59453e6fca56cd2ecf7 (patch) | |
tree | ad2240a8302966392bd276fcd7013b910f05a146 | |
parent | 38822b61292855e707815ad66e528c5421ea42f1 (diff) |
Travis CI: add Node.js 14 and switch to 12 for coveralls
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index a710c82..a5e8654 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ node_js: - "8" - "10" - "12" + - "14" install: - npm install before_script: @@ -13,12 +14,12 @@ before_script: - bundle install --deployment --path "$(pwd)/vendor/bundle" --gemfile bootstrap/Gemfile --jobs=3 --retry=3 || travis_terminate 1 - pushd bootstrap && bundle exec jekyll build && popd script: - - if [ "$TRAVIS_NODE_VERSION" = "10" ]; then npm run nyc -- npm run test && npm run qunit; else npm run test; fi || travis_terminate 1 + - if [ "$TRAVIS_NODE_VERSION" = "12" ]; then npm run nyc -- npm run test && npm run qunit; else npm run test; fi || travis_terminate 1 - node ./src/cli-main.js --disable W003,W005 "bootstrap/_gh_pages/**/index.html" || travis_terminate 1 - node ./src/cli-main.js test/fixtures/x-ua-compatible/missing.html &> x-ua-compatible-missing.output.actual.txt || true - diff test/fixtures/cli/x-ua-compatible-missing.output.txt x-ua-compatible-missing.output.actual.txt after_success: - - if [ "$TRAVIS_NODE_VERSION" = "10" ]; then npm run coveralls; fi + - if [ "$TRAVIS_NODE_VERSION" = "12" ]; then npm run coveralls; fi matrix: fast_finish: true cache: |