forked from com-lihaoyi/utest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
44 lines (37 loc) · 1.16 KB
/
.travis.yml
File metadata and controls
44 lines (37 loc) · 1.16 KB
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
language: scala
sudo: required
dist: trusty
before_script:
- git fetch --tags
jdk:
- oraclejdk8
matrix:
include:
- scala: 2.10.6
jdk: openjdk7
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/bin/travis_setup.sh | bash -x
sudo: required
script: sbt ++$TRAVIS_SCALA_VERSION utestJVM/test utestJS/test utestNative/test
- scala: 2.12.4
script: sbt ++$TRAVIS_SCALA_VERSION utestJVM/test utestJS/test
- scala: 2.13.0-M2
script: sbt ++$TRAVIS_SCALA_VERSION utestJVM/test utestJS/test
- env: SCALAJS_VERSION="1.0.0-M2"
script: sbt "very 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"