diff options
author | XhmikosR <xhmikosr@gmail.com> | 2019-03-13 19:15:14 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2019-03-13 20:02:38 +0300 |
commit | efcc5fd494752c333fa63acef844150d9d473e93 (patch) | |
tree | 33873a7054d99f5dd9fb5710c7b5e4d94a54d8da | |
parent | 82fa063d000972c68fed95f87d52dfb063178ab0 (diff) |
Travis: we don't need nyc in Node.js < 10.
We only run coveralls in Node.js 10.
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 563c9f1..18f41dd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ before_script: - bundle install --deployment --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:all; else npm run nyc -- npm run test; fi || travis_terminate 1 + - if [ "$TRAVIS_NODE_VERSION" = "10" ]; then npm run nyc -- npm run test:all; 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 |