0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Bootstrap/.travis.yml

26 lines
692 B
YAML
Raw Normal View History

2018-11-05 20:51:15 +01:00
addons:
chrome: stable
language: node_js
git:
depth: 3
node_js:
2017-07-15 08:17:32 +02:00
- "8"
- "10"
2013-12-13 12:03:15 +01:00
install:
- bundle install --deployment --jobs=3 --retry=3 --clean
- npm ci
2018-11-05 21:04:23 +01:00
before_script:
- google-chrome-stable --product-version
2018-06-24 00:23:47 +02:00
script:
2018-11-05 17:56:07 +01:00
- npm test || travis_terminate 1
- if [[ "$TRAVIS_NODE_VERSION" = "10" ]]; then npm run linkinator; fi
- if [[ "$TRAVIS_NODE_VERSION" = "10" && "$TRAVIS_EVENT_TYPE" = "push" && ! `git log --format=%B --no-merges -n 1 | grep '\[skip browser\]'` ]]; then npm run js-test-cloud; fi
after_success:
- if [[ "$TRAVIS_NODE_VERSION" = "10" ]]; then npm run coveralls; fi
cache:
directories:
- "$HOME/.npm"
- vendor/bundle
notifications:
email: false