forked from ebowman/api-first-hand
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
54 lines (45 loc) · 1.58 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
54
# See http://about.travis-ci.org/docs/user/build-configuration/
language: scala
scala:
- 2.10.5
# - 2.11.8
branches:
only:
- master
notifications:
email:
recipients:
jdk:
- oraclejdk8
#addons:
# apt:
# packages:
# - oracle-java8-installer
# before_install:
# - pip install --user codecov
# after_success:
# - codecov
script:
- sbt -jvm-opts travis/jvmopts clean
- sbt -jvm-opts travis/jvmopts '++ 2.11.8 api/compile'
- sbt -jvm-opts travis/jvmopts '++ 2.10.5 common/compile' '++ 2.10.5 common/publishLocal'
- sbt -jvm-opts travis/jvmopts '++ 2.10.5 swaggerModel/compile' '++ 2.10.5 swaggerModel/publishLocal'
- sbt -jvm-opts travis/jvmopts '++ 2.10.5 apiFirstCore/compile' '++ 2.10.5 apiFirstCore/publishLocal'
- sbt -jvm-opts travis/jvmopts '++ 2.10.5 swaggerParser/compile' '++ 2.10.5 swaggerParser/publishLocal'
- sbt -jvm-opts travis/jvmopts '++ 2.10.5 playScalaGenerator/compile' '++ 2.10.5 playScalaGenerator/publishLocal'
- sbt -jvm-opts travis/jvmopts '++ 2.10.5 plugin/compile' '++ 2.10.5 plugin/publishLocal'
# - sbt -jvm-opts travis/jvmopts clean compile
- sbt -jvm-opts travis/jvmopts test
- sbt -jvm-opts travis/jvmopts_scripted scripted
- cd swagger-tester && sbt -jvm-opts travis/jvmopts test
# - sbt -jvm-opts travis/jvmopts < travis_coverage_script.txt
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/
before_cache:
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
- find $HOME/.sbt -name "*.lock" -delete
- find $HOME/.sbt -name "de.zalando" -delete