forked from glowroot/glowroot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
120 lines (120 loc) · 5.39 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# standard environment (sudo: required) is required for docker
sudo: required
language: java
services:
- docker
- xvfb
before_install:
# NewRatio is to leave as much memory as possible to old gen
- echo "MAVEN_OPTS=\"-Xmx768m -XX:NewRatio=20\"" > ~/.mavenrc
install: true
script:
# travis ci provides a default settings xml that has lots of unnecessary repositories which slows build down
- rm ~/.m2/settings.xml
- build/travis-ci/build.sh $TARGET
after_script:
# stop sauce connect if it has been started
- if [ -f sauce-connect.pid ]; then build/travis-ci/stop-sauce-connect.sh; fi
cache:
directories:
- $HOME/.m2
- $HOME/.cache/bower
matrix:
include:
- jdk: openjdk8
env: TARGET=test1 TEST_SHADED=true GLOWROOT_HARNESS=javaagent
- jdk: openjdk8
env: TARGET=test2 TEST_SHADED=true GLOWROOT_HARNESS=javaagent
- jdk: openjdk8
env: TARGET=test3 TEST_SHADED=true GLOWROOT_HARNESS=javaagent
- jdk: openjdk8
env: TARGET=test4 TEST_SHADED=true GLOWROOT_HARNESS=javaagent
- jdk: openjdk8
env: TARGET=deploy
- jdk: openjdk8
env: TARGET=checker
- jdk: openjdk11
env: TARGET=test1 TEST_SHADED=true GLOWROOT_HARNESS=javaagent
- jdk: openjdk11
env: TARGET=test2 TEST_SHADED=true GLOWROOT_HARNESS=javaagent
- jdk: openjdk11
env: TARGET=test3 TEST_SHADED=true GLOWROOT_HARNESS=javaagent
- jdk: openjdk11
env: TARGET=test4 TEST_SHADED=true GLOWROOT_HARNESS=javaagent
- jdk: openjdk10
env: TARGET=test1 TEST_SHADED=true GLOWROOT_HARNESS=javaagent
- jdk: openjdk10
env: TARGET=test2 TEST_SHADED=true GLOWROOT_HARNESS=javaagent
- jdk: openjdk10
env: TARGET=test3 TEST_SHADED=true GLOWROOT_HARNESS=javaagent
- jdk: openjdk10
env: TARGET=test4 TEST_SHADED=true GLOWROOT_HARNESS=javaagent
- jdk: openjdk9
env: TARGET=test1 TEST_SHADED=true GLOWROOT_HARNESS=javaagent
- jdk: openjdk9
env: TARGET=test2 TEST_SHADED=true GLOWROOT_HARNESS=javaagent
- jdk: openjdk9
env: TARGET=test3 TEST_SHADED=true GLOWROOT_HARNESS=javaagent
- jdk: openjdk9
env: TARGET=test4 TEST_SHADED=true GLOWROOT_HARNESS=javaagent
- jdk: openjdk8
env: TARGET=test1 TEST_SHADED=false GLOWROOT_HARNESS=javaagent
- jdk: openjdk8
env: TARGET=test2 TEST_SHADED=false GLOWROOT_HARNESS=javaagent
- jdk: openjdk8
env: TARGET=test3 TEST_SHADED=false GLOWROOT_HARNESS=javaagent
- jdk: openjdk8
env: TARGET=test4 TEST_SHADED=false GLOWROOT_HARNESS=javaagent
- jdk: openjdk8
env: TARGET=test1 TEST_SHADED=true GLOWROOT_HARNESS=local
- jdk: openjdk8
env: TARGET=test2 TEST_SHADED=true GLOWROOT_HARNESS=local
- jdk: openjdk8
env: TARGET=test3 TEST_SHADED=true GLOWROOT_HARNESS=local
- jdk: openjdk8
env: TARGET=test4 TEST_SHADED=true GLOWROOT_HARNESS=local
- jdk: openjdk8
env: TARGET=test1 TEST_SHADED=false GLOWROOT_HARNESS=local
- jdk: openjdk8
env: TARGET=test2 TEST_SHADED=false GLOWROOT_HARNESS=local
- jdk: openjdk8
env: TARGET=test3 TEST_SHADED=false GLOWROOT_HARNESS=local
- jdk: openjdk8
env: TARGET=test4 TEST_SHADED=false GLOWROOT_HARNESS=local
# chrome
- jdk: openjdk8
env: TARGET=saucelabs1 SAUCELABS_PLATFORM="Windows 10" SAUCELABS_BROWSER_NAME=chrome SAUCELABS_BROWSER_VERSION=
- jdk: openjdk8
env: TARGET=saucelabs2 SAUCELABS_PLATFORM="Windows 10" SAUCELABS_BROWSER_NAME=chrome SAUCELABS_BROWSER_VERSION=
- jdk: openjdk8
env: TARGET=saucelabs3 SAUCELABS_PLATFORM="Windows 10" SAUCELABS_BROWSER_NAME=chrome SAUCELABS_BROWSER_VERSION=
# firefox
- jdk: openjdk8
env: TARGET=saucelabs1 SAUCELABS_PLATFORM="Windows 10" SAUCELABS_BROWSER_NAME=firefox SAUCELABS_BROWSER_VERSION=
- jdk: openjdk8
env: TARGET=saucelabs2 SAUCELABS_PLATFORM="Windows 10" SAUCELABS_BROWSER_NAME=firefox SAUCELABS_BROWSER_VERSION=
- jdk: openjdk8
env: TARGET=saucelabs3 SAUCELABS_PLATFORM="Windows 10" SAUCELABS_BROWSER_NAME=firefox SAUCELABS_BROWSER_VERSION=
# microsoft edge
- jdk: openjdk8
env: TARGET=saucelabs1 SAUCELABS_PLATFORM="Windows 10" SAUCELABS_BROWSER_NAME=MicrosoftEdge SAUCELABS_BROWSER_VERSION=17.17134
- jdk: openjdk8
env: TARGET=saucelabs2 SAUCELABS_PLATFORM="Windows 10" SAUCELABS_BROWSER_NAME=MicrosoftEdge SAUCELABS_BROWSER_VERSION=17.17134
- jdk: openjdk8
env: TARGET=saucelabs3 SAUCELABS_PLATFORM="Windows 10" SAUCELABS_BROWSER_NAME=MicrosoftEdge SAUCELABS_BROWSER_VERSION=17.17134
# internet explorer
- jdk: openjdk8
env: TARGET=saucelabs1 SAUCELABS_PLATFORM="Windows 10" SAUCELABS_BROWSER_NAME="internet explorer" SAUCELABS_BROWSER_VERSION=
- jdk: openjdk8
env: TARGET=saucelabs2 SAUCELABS_PLATFORM="Windows 10" SAUCELABS_BROWSER_NAME="internet explorer" SAUCELABS_BROWSER_VERSION=
- jdk: openjdk8
env: TARGET=saucelabs3 SAUCELABS_PLATFORM="Windows 10" SAUCELABS_BROWSER_NAME="internet explorer" SAUCELABS_BROWSER_VERSION=
# safari
- jdk: openjdk8
env: TARGET=saucelabs1 SAUCELABS_PLATFORM="macOS 10.13" SAUCELABS_BROWSER_NAME=safari SAUCELABS_BROWSER_VERSION=11.1
- jdk: openjdk8
env: TARGET=saucelabs2 SAUCELABS_PLATFORM="macOS 10.13" SAUCELABS_BROWSER_NAME=safari SAUCELABS_BROWSER_VERSION=11.1
- jdk: openjdk8
env: TARGET=saucelabs3 SAUCELABS_PLATFORM="macOS 10.13" SAUCELABS_BROWSER_NAME=safari SAUCELABS_BROWSER_VERSION=11.1
addons:
firefox: "62.0.3"