forked from com-lihaoyi/Ammonite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
81 lines (62 loc) · 1.66 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
language: scala
# Not sure why this is necessary, but sometime before this commit the master
# branch and other branches/tags stopped getting cloned down by travis automatically
install:
- git fetch origin master:master
matrix:
include:
- stage: build
env: CI_SCRIPT="./mill -i unitTest"
jdk: openjdk11
scala: 2.12.8
- stage: build
env: CI_SCRIPT="./mill -i unitTest"
jdk: oraclejdk8
scala: 2.12.8
- stage: build
env: CI_SCRIPT="./mill -i unitTest"
jdk: oraclejdk8
scala: 2.13.0
- stage: build
env: CI_SCRIPT="./mill -i integrationTest"
jdk: openjdk11
scala: 2.12.8
- stage: build
env: CI_SCRIPT="./mill -i integrationTest"
jdk: oraclejdk8
scala: 2.12.8
- stage: build
env: CI_SCRIPT="./mill -i integrationTest"
jdk: oraclejdk8
scala: 2.13.0
# Everything worked, *then* kick off a release
- stage: release
env: CI_SCRIPT="./mill -i publishSonatype __.publishArtifacts 1 3"
jdk: oraclejdk8
scala: 2.11.12
- stage: release
env: CI_SCRIPT="./mill -i publishSonatype __.publishArtifacts 2 3"
jdk: oraclejdk8
scala: 2.11.12
- stage: release
env: CI_SCRIPT="./mill -i publishSonatype __.publishArtifacts 3 3"
jdk: oraclejdk8
scala: 2.11.12
- stage: release
env: CI_SCRIPT="./mill -i publishDocs"
jdk: oraclejdk8
scala: 2.11.12
- stage: release
env: CI_SCRIPT="./mill -i publishExecutable"
jdk: oraclejdk8
scala: 2.11.12
script:
- unset _JAVA_OPTIONS
- unset JVM_OPTS
- unset SBT_OPTS
# We use 2.11 since we need to run tests on Java 7
- JAVAOPTS="-Xmx2048m" $CI_SCRIPT
notifications:
email:
sudo: true