From 397c6ef09cdc5e1001e87aee9c98b0a5c5feba2a Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 13 Mar 2019 18:26:59 +0200 Subject: [PATCH] Travis: run qunit tests without nyc. This slows down qunit tests a lot, ~10 times. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 18f41ddd..c45a9c87 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 test; fi || travis_terminate 1 + - if [ "$TRAVIS_NODE_VERSION" = "10" ]; 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