forked from com-lihaoyi/utest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (44 loc) · 1.35 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
51
52
language: scala
sudo: required
dist: trusty
addons:
apt:
update: true
before_script:
- git fetch --tags
jdk:
- oraclejdk8
matrix:
include:
- scala: 2.10.7
jdk: openjdk8
script: sbt ++$TRAVIS_SCALA_VERSION! utestJVM/test utestJS/test
- scala: 2.11.12
env: CI_PUBLISH="true"
before_script:
- git fetch --tags
- curl https://raw.githubusercontent.com/scala-native/scala-native/master/scripts/travis_setup.sh | bash -x
sudo: required
script: sbt ++$TRAVIS_SCALA_VERSION! utestJVM/test utestJS/test utestNative/test
- scala: 2.12.6
script: sbt ++$TRAVIS_SCALA_VERSION! utestJVM/test utestJS/test
- scala: 2.13.0-M5
script: sbt ++$TRAVIS_SCALA_VERSION! utestJVM/test utestJS/test
- env: SCALAJS_VERSION="1.0.0-M5"
scala: 2.11.12
script: sbt ++$TRAVIS_SCALA_VERSION! utestJS/test
- env: SCALAJS_VERSION="1.0.0-M5"
scala: 2.12.6
script: sbt ++$TRAVIS_SCALA_VERSION! utestJS/test
# Taken from https://github.com/typelevel/cats/blob/master/.travis.yml
before_cache:
- find $HOME/.sbt -name "*.lock" -type f -delete
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete
cache:
directories:
- $HOME/.sbt/0.13/dependency
- $HOME/.sbt/boot/scala*
- $HOME/.sbt/launchers
- $HOME/.ivy2/cache
after_success:
- "./bin/publishSigned-CI.sh"