mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-28 20:52:21 +01:00
Travis CI: add Node.js 12 and use cache: npm
. (#28705)
This commit is contained in:
parent
280f45c55e
commit
344dfbb302
@ -6,6 +6,7 @@ git:
|
||||
node_js:
|
||||
- "8"
|
||||
- "10"
|
||||
- "12"
|
||||
before_script:
|
||||
- google-chrome-stable --product-version
|
||||
script:
|
||||
@ -14,8 +15,6 @@ script:
|
||||
- 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"
|
||||
cache: npm
|
||||
notifications:
|
||||
email: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user