forked from apache/pinot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
75 lines (66 loc) · 3.21 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
language: java
os:
- linux
dist: trusty
before_install:
- sudo apt-get update && sudo apt-get install -y --no-install-recommends gdb
- mkdir -p ~/bin && curl -sSL -o ~/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 && chmod +x ~/bin/jq
- export PATH=$PATH:~/bin
- jq --version
- curl -sSL -o ~/bin/install-jdk.sh https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh && chmod +x ~/bin/install-jdk.sh
- source ./.travis/.travis_set_deploy_build_opts.sh
before_cache:
- rm -rf $HOME/.m2/repository/org/apache/pinot
cache:
directories:
- $HOME/.m2
yarn: true
addons:
firefox: latest
install:
- ./.travis/.travis_install.sh
branches:
only:
- master
stages:
- test
- name: deploy
if: branch = master
jobs:
include:
- name: "Integration Tests - OracleJDK 8"
jdk: oraclejdk8
script:
- ./.travis/.travis_test.sh
env:
- RUN_INTEGRATION_TESTS=true
- name: "Unit Tests - OracleJDK 8"
jdk: oraclejdk8
script:
- ./.travis/.travis_test.sh
env:
- RUN_INTEGRATION_TESTS=false
- name: "QuickStart - Java 8 & OpenJDK 14-15"
jdk: oraclejdk8
script:
- ./.travis/.travis_quickstart.sh
- jdk_switcher use openjdk8
- ./.travis/.travis_install.sh
- ./.travis/.travis_quickstart.sh
- ./.travis/.travis_quickstart_openjdk.sh 14
- ./.travis/.travis_quickstart_openjdk.sh 15
- name: "QuickStart - OpenJDK 10-13"
jdk: openjdk10
script:
- java -version
- ./.travis/.travis_quickstart.sh
- ./.travis/.travis_quickstart_openjdk.sh 11
- ./.travis/.travis_quickstart_openjdk.sh 12
- ./.travis/.travis_quickstart_openjdk.sh 13
- stage: deploy
script:
- travis_wait 40 ./.travis/.travis_nightly_build.sh
env:
global:
- secure: R3NdobUAThkk6BBzXapek6PiuWHWa1ldnJBvXpk2TAi7Lua/Ctgg8EHCSve7+MK4SU3XFJSi1th32+VSy0K/ARfdVcxiVh6EJSL/Nw0LRQSvGk7VjO382SsWCFoJuZBBqjy9DfBgRLdoqEPfulIBC0XBxjJ+4xedRptkZo7+TAAvtB8Y32EA5ve+Z4cdJipLF1tviL5q2rVbkNXucYUYO2XIv5HOzF2Xy3Hw6lsNrHpbes2CLEkoMiLOQ30zfbXZT/5Xd6OhQNmoZJ9gKziT1opiN2AJMPv269K8FFJZTrDZX74/thq9wmeF4X4f3wPA7EbTupooj0i9LPzb8Xev1QKAsxBtHyRm9NGYOXM06c2yKiGsDtT4HZYQGk4m8/89moe3oGnEwvw/JLu5RvLIZzFE2cBhHrcxRAJgHLIr80+kebNg/YstNlDL+rmP0b9NRrGIVw5OO2BT27ZBgsMFmjnujQtCUJiJ5zqyMxygaYmgZha6xcbhFUPyf4DJ3T46etyFovg2EJnhM7HL9ECZHloQZFhEKs88sZXqvt6HKsA77xyL7ONMrwcPtdDVbFUkN/B1R7LLOf6Wq5vK/Y2EB18oXhKF0ngdahT8HKSMTXjuYf5MPybxhf4fdY6stFmIVkd9b633iZDMu+Aj8E1c8BApyDikCmYK2BI3grH49E0=
- secure: Hj71ADg7ZgQpn8PUbEjaz1RrjkPfPCpGksp+WDjE6jf+oDvl55ILQhPgNcxIy81UcxS3Gmx6UWteVGkNV4Fi59TJIQ8KPbQ9RU2FFVXcxHH2TmkOvdNezwkJIFUw0TNMCbRAXgDj7ov75BM6lLi271GfqPVg9pB504Bc43WohnV6lDo/y93Z/xWbuFk5uJ+cogAJme3pvYHxBNlNzwIYnNAAqrEb+YKsRuux3qWLTlm1guT78g3C9wl/WCelTo1A3hGd12FqFWmowcoQlAyhbnFJ7u7qwfSNTSGCFLYbrUGooXqT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