aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/twbs/bootstrap/.travis.yml')
-rw-r--r--vendor/twbs/bootstrap/.travis.yml26
1 files changed, 9 insertions, 17 deletions
diff --git a/vendor/twbs/bootstrap/.travis.yml b/vendor/twbs/bootstrap/.travis.yml
index c3a6b02ca..b8d19ad25 100644
--- a/vendor/twbs/bootstrap/.travis.yml
+++ b/vendor/twbs/bootstrap/.travis.yml
@@ -1,5 +1,3 @@
-sudo: required
-dist: trusty
addons:
chrome: stable
language: node_js
@@ -8,26 +6,20 @@ git:
node_js:
- "6"
- "8"
-before_install:
- - if [[ `npm -v` != 5* ]]; then npm install -g npm@5; fi
install:
- - bundle install --deployment --jobs=3 --retry=3
+ - bundle install --deployment --jobs=3 --retry=3 --clean
- npm install
+before_script:
+ - google-chrome-stable --product-version
script:
- - npm test
- - if [ "$TRAVIS_NODE_VERSION" = "8" ]; then npm run check-broken-links; fi
+ - 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
-stages:
- - test
- - name: browser
- if: type = push
-jobs:
- include:
- - stage: browser
- node_js: 8
- script: if ! git log --format=%B --no-merges -n 1 | grep '\[skip browser\]'; then npm test && npm run js-test-cloud; fi
+ - if [[ "$TRAVIS_NODE_VERSION" = "8" ]]; then npm run coveralls; fi
cache:
directories:
- node_modules
- vendor/bundle
+notifications:
+ email: false