-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
59 lines (50 loc) · 1.83 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
55
56
57
58
59
sudo: false
# https://blog.travis-ci.com/2017-07-11-trusty-as-default-linux-is-coming
# Travis now defaults to Trusty, which is missing openjdk6.
dist: precise
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot
language: scala
# TODO - we'd like to actually test everything, but the process library has a deadlock right now
jdk:
- openjdk6
# - oraclejdk7
# WORKAROUND https://github.com/travis-ci/travis-ci/issues/5227
addons:
hosts: workaround-travis-ci-issue-5227
hostname: workaround-travis-ci-issue-5227
env:
matrix:
- SBT_CMD=";doc;safeUnitTests"
- SBT_CMD="otherUnitTests"
- SBT_CMD="scripted actions/*"
- SBT_CMD="scripted api/*"
- SBT_CMD="scripted compiler-project/*"
- SBT_CMD="scripted dependency-management/*1of2"
- SBT_CMD="scripted dependency-management/*2of2"
- SBT_CMD="scripted ivy-deps-management/*"
- SBT_CMD="scripted java/*"
- SBT_CMD="scripted package/*"
- SBT_CMD="scripted project/*1of2"
- SBT_CMD="scripted project/*2of2"
- SBT_CMD="scripted reporter/*"
- SBT_CMD="scripted run/*"
- SBT_CMD="scripted source-dependencies/*1of3"
- SBT_CMD="scripted source-dependencies/*2of3"
- SBT_CMD="scripted source-dependencies/*3of3"
- SBT_CMD="scripted tests/*"
- SBT_CMD="scripted project-load/*"
- SBT_CMD="checkBuildScala211"
- SBT_CMD="repoOverrideTest:scripted dependency-management/*"
- SBT_CMD="mavenResolverPluginTest:scripted dependency-management/*2of2"
- SBT_CMD="mavenResolverPluginTest:scripted dependency-management/*1of2 project/transitive-plugins"
notifications:
email:
- sbt-dev-bot@googlegroups.com
script:
- sbt -J-XX:ReservedCodeCacheSize=128m "$SBT_CMD"
# Tricks to avoid unnecessary cache updates
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm