]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Travis CI: add Node.js 12 and use `cache: npm`. (#28705)
authorXhmikosR <xhmikosr@gmail.com>
Mon, 29 Apr 2019 15:03:25 +0000 (18:03 +0300)
committerGitHub <noreply@github.com>
Mon, 29 Apr 2019 15:03:25 +0000 (18:03 +0300)
.travis.yml

index 3ee10abb1207f352df7bf29f453207b2369f0ea6..24c73c66fe11344cca2eec5d05fcf61db37576b2 100644 (file)
@@ -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