forked from apache/phoenix-omid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (37 loc) · 837 Bytes
/
.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
language: java
notifications:
email:
recepients:
on_success: always
on_failure: always
jdk:
- openjdk8
branches:
only:
- master
- 0.9.0.0
- phoenix-integration
cache:
directories:
- "~/.m2"
install: true
before_script:
# This is required to avoid failures of HBase minicluster related to Hadoop 1.x releases
- umask 022
- git config --global user.email "[email protected]"
- git config --global user.name "Omid CI"
- REPO_DIR=$(pwd)
- cd $REPO_DIR
script:
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ] ; then
git checkout master
&&
mvn clean cobertura:cobertura coveralls:report ;
else
git checkout -b tmp-build-branch
&&
dev-support/rebuild_hbase.sh detect
&&
mvn clean test ;
fi