forked from endpoints4s/endpoints4s
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
53 lines (48 loc) · 1.75 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
53
language: scala
cache:
- directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot
# based on https://github.com/jruby/jruby/blob/master/.travis.yml
before_install:
- unset _JAVA_OPTIONS
- export JAVA_OPTS="$JAVA_OPTS -Xms512m -Xmx2048m"
before_script:
- unset _JAVA_OPTIONS # travis/travis#8408
- echo $HOME
- echo $JAVA_OPTS
jdk:
- oraclejdk8
jobs:
include:
- stage: test
scala: 2.11.11
script:
# +++ instead of ++ to use sbt-doge strict aggregation
- sbt "+++$TRAVIS_SCALA_VERSION test manual/makeSite"
# See http://www.scala-sbt.org/0.13/docs/Travis-CI-with-sbt.html
# Tricks to avoid unnecessary cache updates
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
- stage: test
scala: 2.12.4
script:
# +++ instead of ++ to use sbt-doge strict aggregation
- sbt "+++$TRAVIS_SCALA_VERSION test"
# See http://www.scala-sbt.org/0.13/docs/Travis-CI-with-sbt.html
# Tricks to avoid unnecessary cache updates
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
- stage: test
scala: 2.13.0-M2
script:
# +++ instead of ++ to use sbt-doge strict aggregation
- sbt "+++$TRAVIS_SCALA_VERSION test"
# See http://www.scala-sbt.org/0.13/docs/Travis-CI-with-sbt.html
# Tricks to avoid unnecessary cache updates
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
- stage: coverage
script: sbt "wow 2.11.11" coverage test coverageReport coverageAggregate
after_success:
- bash <(curl -s https://codecov.io/bash)