Skip to content

Commit

Permalink
Merge pull request #78 from scalameta/build-fixes
Browse files Browse the repository at this point in the history
Build fixes
  • Loading branch information
jonas committed Sep 28, 2017
2 parents 7972941 + 81304c5 commit 08753bc
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
language: scala
script:
- ./bin/runci.sh $CI_TEST
jdk:
- oraclejdk8
scala: 2.12.3
jdk: oraclejdk8

script: ./bin/runci.sh "$CI_TEST"
env:
global:
- TRAVIS_NODE_VERSION="8"
- TRAVIS_YARN_VERSION="1.1.0"
matrix:
- CI_TEST: test
- CI_TEST: ;compile;test
- CI_TEST: scripted
- CI_TEST: scalafmt

Expand All @@ -22,8 +23,8 @@ cache:

before_install:
# Install Node.js and yarn.
- 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
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 0.24.6
- nvm install "$TRAVIS_NODE_VERSION"
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version "$TRAVIS_YARN_VERSION"
- export PATH=$HOME/.yarn/bin:$PATH

before_cache:
Expand Down

0 comments on commit 08753bc

Please sign in to comment.