forked from apache/pinot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
92 lines (82 loc) · 6.01 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
language: java
os: linux
dist: trusty
# Prevent test build of a documentation-only change.
#
# if: conditions are preferred as they obviate job creation. However, they can only use
# pre-defined env variables or globals that can be evaluated statically. The other way to skip
# is to exit early. We do that here to prevent overhead of running tests that only include Markdown
# (documentation) updates.
_terminate_if_only_docs: &terminate_if_only_docs
- |
if [ -n "${TRAVIS_COMMIT_RANGE}" ] && ! git diff --name-only "${TRAVIS_COMMIT_RANGE}" -- | grep -qv '\.md$'; then
echo "Stopping job as changes only affect documentation (ex. README.md)"
travis_terminate 0
fi
before_install:
- *terminate_if_only_docs
- 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
- travis_wait 60 ./.travis/.travis_te_nightly_build.sh
env:
global:
- secure: R3NdobUAThkk6BBzXapek6PiuWHWa1ldnJBvXpk2TAi7Lua/Ctgg8EHCSve7+MK4SU3XFJSi1th32+VSy0K/ARfdVcxiVh6EJSL/Nw0LRQSvGk7VjO382SsWCFoJuZBBqjy9DfBgRLdoqEPfulIBC0XBxjJ+4xedRptkZo7+TAAvtB8Y32EA5ve+Z4cdJipLF1tviL5q2rVbkNXucYUYO2XIv5HOzF2Xy3Hw6lsNrHpbes2CLEkoMiLOQ30zfbXZT/5Xd6OhQNmoZJ9gKziT1opiN2AJMPv269K8FFJZTrDZX74/thq9wmeF4X4f3wPA7EbTupooj0i9LPzb8Xev1QKAsxBtHyRm9NGYOXM06c2yKiGsDtT4HZYQGk4m8/89moe3oGnEwvw/JLu5RvLIZzFE2cBhHrcxRAJgHLIr80+kebNg/YstNlDL+rmP0b9NRrGIVw5OO2BT27ZBgsMFmjnujQtCUJiJ5zqyMxygaYmgZha6xcbhFUPyf4DJ3T46etyFovg2EJnhM7HL9ECZHloQZFhEKs88sZXqvt6HKsA77xyL7ONMrwcPtdDVbFUkN/B1R7LLOf6Wq5vK/Y2EB18oXhKF0ng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