File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,14 @@ scala:
19
19
before_install :
20
20
- export PATH=${PATH}:./vendor/bundle
21
21
22
+ env :
23
+ - TRAVIS_NODE_VERSION="5.12.0"
24
+ - TRAVIS_NODE_VERSION="6.10.0"
25
+ - TRAVIS_NODE_VERSION="7.6.0"
26
+
22
27
install :
28
+ - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
29
+ - npm install
23
30
- rvm use 2.2.3 --install --fuzzy
24
31
- gem update --system
25
32
- gem install sass
@@ -30,15 +37,13 @@ cache:
30
37
- $HOME/.ivy2
31
38
- $HOME/.m2
32
39
- $HOME/.coursier
33
-
34
- env :
35
- - COURSIER_NO_TERM=1
40
+ - $HOME/.sbt/boot
36
41
37
42
script :
38
43
- sbt ++$TRAVIS_SCALA_VERSION clean scalajavatimeJVM/test
39
44
- sbt ++$TRAVIS_SCALA_VERSION clean scalajavatimeJS/test
40
45
- sbt docs/makeMicrosite
41
- # - sbt clean coverage test &&
42
- # sbt coverageAggregate
43
- after_success :
44
- # - sbt coveralls
46
+ # Tricks to avoid unnecessary cache updates, from
47
+ # http://www.scala- sbt.org/0.13/docs/Travis-CI-with-sbt.html
48
+ - find $HOME/.sbt -name "*.lock" | xargs rm
49
+ - find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
You can’t perform that action at this time.
0 commit comments