This repository has been archived by the owner on Mar 21, 2019. It is now read-only.
forked from mbalassi/flink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (49 loc) · 2.51 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
# s3 deployment based on http://about.travis-ci.org/blog/2012-12-18-travis-artifacts/
# send to container based infrastructure: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
cache:
directories:
- $HOME/.m2
install: true
language: java
#See https://issues.apache.org/jira/browse/FLINK-1072
matrix:
include:
- jdk: "openjdk6"
env: PROFILE="-Dhadoop.profile=1"
- jdk: "oraclejdk7"
env: PROFILE="-Dhadoop.profile=1"
- jdk: "openjdk6"
env: PROFILE="-P!include-yarn -Dhadoop.version=2.0.0-alpha"
- jdk: "oraclejdk7"
env: PROFILE="-Dhadoop.version=2.2.0"
- jdk: "oraclejdk8"
env: PROFILE="-Dhadoop.version=2.6.0"
git:
depth: 10
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/d70a7e674cb9354c77b2
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
env:
global:
# username and password for Apache Nexus (maven deploy)
- secure: "Nu2oNTrIAmxIkNEZzALw+GT2QBogEh/mqecSqoKDCk0oFjUZhrnrsIZYD/8zTG9fAVa5Gx4uWH4W824Va5RlBZvCs9UTh5TF25K2ORR9dB9FiXZ+Vjjig78sKJF7N73WVIOsHCSKpoBKnVkvNwxuAkPTMYjn3sswRh1pMu2VQ90="
- secure: "jMllQXAHpE+ijYXjvQvh0xml6DCL5pmESuWRtd0Wi4v56HHxKHc/Tty/CJvX8whVDLaHNFtwlbaIN9asSyAu1OyGhpWCqsmsxWF4atvKFua1oX45XMB26Ymf7Yr7aq7lcx66j0cYpfBXY4tFTFPiT05QnZ8XsHzEnv4Tpgif2dg="
# New s3 deployment
- ARTIFACTS_S3_BUCKET="stratosphere-bin"
- secure: "AECzVxihEhYfnNcrY/wLirTkKkmSATycvTfKsBmxD07bg6BmaVgsOl4degUu4YL50e6agpoWul6irGxTg0bjLMAwg1ZGyRx57NFvNQ7JYDHK6EWmJ7BsK2WO7HiYzfau+ZAaL36WpOMi0UUPpuNXMvULqaE9b4jZqo1Wo/WDcyU="
- secure: "SNZkMm++fvPbjdreibc4j/XTKy7rOvGvjbvJJLQ01fVDR8ur1FGB5L/CE9tm2Aye75G8br+tJ+gf5cMX8CHL+0VrvuTk5U6flbuM08Pd0pmP64ZncmGfRFKC5qTvt24YR0u3cqxWze8RTkdduz0t8xrEdyCtb94CHs1+RNS+0HA="
# javadocs deploy
- secure: "f4wACodae0NCaIZtmg/JvP40G/3dE7O6+ONDMbq8P/9dnT5peRB1q7+KZxggRmFSWTMPdPIDI7YxI/rM5wZ3pUN2eX0BpjfANT58OJdgCNXN3Hr9YOa8UykD2h6b+AHpy4G89MG65m73RvNXngHTCQ8SBIfewzeMAhHdD3Fk0u8="
before_script:
- "gem install --no-document --version 0.8.9 faraday "
- "gem install --no-document travis-artifacts & "
# we have to manually set the forkCount because maven thinks that the travis
# machine has 32 cores
script: "mvn -Dflink.forkCount=2 -B $PROFILE clean install verify"
# deploy if the first job is successful; should be replaced by an after_all_success if travis finally supports it
after_success:
- "./tools/deploy_to_maven.sh"