forked from sofastack/sofa-rpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (29 loc) · 911 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
#.travis.yml
language: java
addons:
apt:
packages:
- openjdk-6-jdk
jdk:
- oraclejdk8
- openjdk7
- openjdk6
before_install:
- echo "Downloading Maven 3.2.5"
&& wget https://archive.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip
&& unzip -qq apache-maven-3.2.5-bin.zip
&& export M2_HOME=$PWD/apache-maven-3.2.5
&& export PATH=$M2_HOME/bin:$PATH
&& mvn -version
- echo "Install Zookeeper 3.4.11"
&& wget http://archive.apache.org/dist/zookeeper/zookeeper-3.4.11/zookeeper-3.4.11.tar.gz
&& tar -zxf zookeeper-3.4.11.tar.gz
&& mv zookeeper-3.4.11/conf/zoo_sample.cfg zookeeper-3.4.11/conf/zoo.cfg
&& /bin/bash zookeeper-3.4.11/bin/zkServer.sh start
install:
- mvn clean install -Pci-install -B -U -e
- sh ./tools/check_format.sh
script:
- mvn clean package -Pci-test
after_success:
- bash <(curl -s https://codecov.io/bash)