twbs--bootstrap/.travis.yml

26 lines
701 B
YAML
Raw Normal View History

2018-11-05 19:51:15 +00:00
addons:
chrome: stable
language: node_js
git:
depth: 3
node_js:
- "6"
2017-07-15 06:17:32 +00:00
- "8"
2013-12-13 11:03:15 +00:00
install:
- bundle install --deployment --jobs=3 --retry=3 --clean
2015-08-19 20:08:26 +00:00
- npm install
2018-11-05 20:04:23 +00:00
before_script:
- google-chrome-stable --product-version
2018-06-23 22:23:47 +00:00
script:
2018-11-05 16:56:07 +00:00
- npm test || travis_terminate 1
- if [[ "$TRAVIS_NODE_VERSION" = "8" ]]; then npm run check-broken-links; fi
- if [[ "$TRAVIS_NODE_VERSION" = "8" && "$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" = "8" ]]; then npm run coveralls; fi
cache:
directories:
- node_modules
- vendor/bundle
notifications:
email: false