forked from mojo-executor/mojo-executor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (29 loc) · 862 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
# use http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
language: java
#maven:
# - '3.0.5'
# - '3.5.0'
jdk:
- openjdk8
# cache local Maven repo: http://docs.travis-ci.com/user/caching/
cache:
directories:
- '$HOME/.m2/repository'
before_install:
- wget https://archive.apache.org/dist/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.zip
- unzip -q apache-maven-3.0.5-bin.zip
- wget https://archive.apache.org/dist/maven/maven-3/3.5.0/binaries/apache-maven-3.5.0-bin.zip
- unzip -q apache-maven-3.5.0-bin.zip
env:
matrix:
- MAVEN=$PWD/apache-maven-3.0.5
- MAVEN=$PWD/apache-maven-3.5.0
install: /bin/true
script:
- echo $JAVA_HOME
- export M2_HOME=$MAVEN
- export PATH=$M2_HOME/bin:$PATH
- mvn --version
- mvn clean install
after_success: bash <(curl -s https://codecov.io/bash)