forked from com-lihaoyi/Ammonite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
65 lines (51 loc) · 1.73 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
60
61
62
63
64
65
language: scala
matrix:
include:
# The test matrix is manually spelled out, rather than relying
# on the "automatic" matrix-generation by specifying the different
# `scala`, `jdk`, and `env` values, because we want `artifacts` to
# run first, but docs to run last since the artifacts need time to
# sync to maven central before becoming available
- env: CI_SCRIPT="ci/build.sc artifacts"
jdk: oraclejdk8
scala: 2.11.8
# Each `test` call is manually sharded out into `published/test` and
# `integration/test`; for some reason, running them on the same box is
# flaky and `integration/test` ends up hanging, even if they are run in
# separate, sequential processes.
- env: CI_SCRIPT="ci/build.sc test published/test"
jdk: oraclejdk8
scala: 2.12.1
- env: CI_SCRIPT="ci/build.sc test integration/test"
jdk: oraclejdk8
scala: 2.12.1
- env: CI_SCRIPT="ci/build.sc test published/test"
jdk: oraclejdk8
scala: 2.11.8
- env: CI_SCRIPT="ci/build.sc test integration/test"
jdk: oraclejdk8
scala: 2.11.8
- env: CI_SCRIPT="ci/build.sc test published/test"
jdk: openjdk7
scala: 2.10.5
- env: CI_SCRIPT="ci/build.sc test integration/test"
jdk: openjdk7
scala: 2.10.5
# These are relatively (?) quick so put them last
- env: CI_SCRIPT="ci/build.sc docs"
jdk: oraclejdk8
scala: 2.11.8
- env: CI_SCRIPT="ci/build.sc executable"
jdk: oraclejdk8
scala: 2.11.8
script:
- export PATH=~/bin/amm:$PATH
- mkdir -p ~/bin
- curl -L -o ~/bin/amm https://git.io/vKSOR && chmod +x ~/bin/amm
- which amm
# Memory-limit the CI script to avoid things being OOMKilled by Travis
- java -jar -Xmx400m $(which amm) $CI_SCRIPT
notifications:
email:
- haoyi.sg@gmail.com
sudo: false