forked from sofastack/sofa-bolt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
29 lines (22 loc) · 680 Bytes
/
Copy path.travis.yml
File metadata and controls
29 lines (22 loc) · 680 Bytes
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
#.travis.yml
language: java
dist: trusty
jdk:
- oraclejdk8
- openjdk7
dist: trusty
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 -q apache-maven-3.2.5-bin.zip
&& export M2_HOME=$PWD/apache-maven-3.2.5
&& export PATH=$M2_HOME/bin:$PATH
&& cp ./.middleware-common/.travis.settings.xml $HOME/.m2/settings.xml
&& mvn -version
install:
- mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script:
- sh ./.middleware-common/check_format.sh
- mvn cobertura:cobertura
after_success:
- bash <(curl -s https://codecov.io/bash)