mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-30 08:39:56 +02:00
Travis CI: add Node.js 12 and use cache: npm
. (#28705)
This commit is contained in:
@@ -6,6 +6,7 @@ git:
|
|||||||
node_js:
|
node_js:
|
||||||
- "8"
|
- "8"
|
||||||
- "10"
|
- "10"
|
||||||
|
- "12"
|
||||||
before_script:
|
before_script:
|
||||||
- google-chrome-stable --product-version
|
- google-chrome-stable --product-version
|
||||||
script:
|
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
|
- 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:
|
after_success:
|
||||||
- if [[ "$TRAVIS_NODE_VERSION" = "10" ]]; then npm run coveralls; fi
|
- if [[ "$TRAVIS_NODE_VERSION" = "10" ]]; then npm run coveralls; fi
|
||||||
cache:
|
cache: npm
|
||||||
directories:
|
|
||||||
- "$HOME/.npm"
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
Reference in New Issue
Block a user