-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
38 lines (31 loc) · 1.13 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
# From https://github.com/DanySK/Gravis-CI
language: bash
dist: xenial
os:
- linux
env:
global:
- GRAVIS="https://raw.githubusercontent.com/DanySK/Gravis-CI/master/"
matrix:
# List any JDK you want to build your software with.
# You can see the list of supported environments by installing Jabba and using ls-remote:
# https://github.com/shyiko/jabba#usage
- JDK="[email protected]"
- JDK="[email protected]"
- JDK="[email protected]"
- JDK="[email protected]"
- JDK="1.12.0-1"
cache:
directories:
# Avoid re-downloading the JDK every time
- $HOME/.jabba/
- $HOME/.m2/
before_install:
# Sets up the Java environment
- curl "${GRAVIS}.install-jdk-travis.sh" --output .install-jdk-travis.sh
# Get maven 3.1.1
- "wget http://apache.mirror.iphh.net/maven/maven-3/3.1.1/binaries/apache-maven-3.1.1-bin.tar.gz && tar xfz apache-maven-3.1.1-bin.tar.gz && sudo mv apache-maven-3.1.1 /usr/local/maven-3.1.1 && sudo rm -f /usr/local/maven && sudo ln -s /usr/local/maven-3.1.1 /usr/local/maven"
before_script:
- bash .install-jdk-travis.sh
script:
- /usr/local/maven/bin/mvn verify -B