Skip to content

Commit c649b95

Browse files
Try to fix ci build by using node v12
1 parent d52dbc7 commit c649b95

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ addons:
2525
packages:
2626
- chromium-chromedriver
2727
before_install:
28+
- nvm install 12 &&
29+
nvm use 12
30+
- node --version &&
31+
npm --version
2832
- if [ $TRAVIS_PULL_REQUEST = 'false' ]; then
2933
openssl aes-256-cbc -K $encrypted_9575f030309c_key -iv $encrypted_9575f030309c_iv -in travis/secrets.tar.enc -out travis/secrets.tar -d;
3034
tar xv -C travis -f travis/secrets.tar;
@@ -34,9 +38,6 @@ before_script:
3438
- "export DISPLAY=:99"
3539
- "sh -e /etc/init.d/xvfb start"
3640
- sleep 3 # give xvfb some time to start
37-
- ". $HOME/.nvm/nvm.sh"
38-
- "nvm install node"
39-
- "nvm use node"
4041
script:
4142
- sbt ++$TRAVIS_SCALA_VERSION fastOptJS::webpack it:test &&
4243
if [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" -o "$TRAVIS_BRANCH" == "$TRAVIS_TAG" ]; then

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# scalajs-reactjs
22

33
[![Build Status](https://travis-ci.com/scommons/scalajs-reactjs.svg?branch=master)](https://travis-ci.com/scommons/scalajs-reactjs)
4-
[![scala-index](https://index.scala-lang.org/scommons/scalajs-reactjs/scalajs-reactjs/latest.svg)](https://index.scala-lang.org/scommons/scalajs-reactjs/scalajs-reactjs)
4+
[![scala-index](https://index.scala-lang.org/scommons/scalajs-reactjs/scalajs-reactjs-core/latest-by-scala-version.svg?targetType=Js)](https://index.scala-lang.org/scommons/scalajs-reactjs/scalajs-reactjs-core)
55
[![Scala.js 0.6](https://www.scala-js.org/assets/badges/scalajs-0.6.29.svg)](https://www.scala-js.org)
66
[![Scala.js 1.0](https://www.scala-js.org/assets/badges/scalajs-1.1.0.svg)](https://www.scala-js.org)
77

0 commit comments

Comments
 (0)