зеркало из https://github.com/twbs/bootlint.git
Travis: run qunit tests without nyc.
This slows down qunit tests a lot, ~10 times.
This commit is contained in:
Родитель
efcc5fd494
Коммит
397c6ef09c
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче