mirror of
https://github.com/Modernizr/Modernizr.git
synced 2026-01-07 23:04:00 -05:00
22 lines
465 B
YAML
22 lines
465 B
YAML
os: linux
|
|
dist: xenial
|
|
language: node_js
|
|
node_js:
|
|
- 12
|
|
- 14
|
|
- 16
|
|
before_install:
|
|
- npm install -g npm@latest
|
|
before_script:
|
|
- |
|
|
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(.md)'
|
|
then
|
|
echo "Only doc files were updated, not running the CI."
|
|
exit
|
|
fi
|
|
- npm install -g gulp-cli
|
|
after_success:
|
|
- ./node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/codecov --pipe
|
|
script:
|
|
- npm test
|