forked from typelevel/cats-effect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (45 loc) · 1.21 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
dist: xenial
sudo: false
language: scala
matrix:
include:
- jdk: openjdk8
scala: 2.13.1
env: SCALAJS_VERSION=
- jdk: openjdk8
scala: 2.13.1
env: SCALAJS_VERSION=1.0.0-RC2
# We want the latest stable Scala last so sbt-travisci makes it the default
- jdk: openjdk8
scala: 2.12.10
env: SCALAJS_VERSION=
- jdk: openjdk8
scala: 2.12.10
env: SCALAJS_VERSION=1.0.0-RC2
- jdk: openjdk11
scala: 2.12.10
env: SCALAJS_VERSION=
- jdk: openjdk11
scala: 2.12.10
env: SCALAJS_VERSION=1.0.0-RC2
install:
- rvm install 2.6
# In case we want to reinstall all Ruby dependencies from scratch:
# rvm --force gemset delete 2.6@cats-effect
- rvm use 2.6@cats-effect --default --create
- bundle install --system --gemfile=site/Gemfile
script:
- sbt ++$TRAVIS_SCALA_VERSION ci
- |
if [[ "$TRAVIS_SCALA_VERSION" =~ ^2\.12\. ]]; then
sbt ++$TRAVIS_SCALA_VERSION microsite/makeMicrosite
fi
before_cache:
- find $HOME/.sbt -name "*.lock" -type f -delete
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.coursier/cache
- $HOME/.sbt
- $HOME/.rvm