Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0a40ca4
commit 18accd2
Showing
1 changed file
with
4 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,7 @@ | ||
language: java | ||
addons: | ||
apt: | ||
packages: | ||
- openjdk-6-jdk | ||
jdk: | ||
- openjdk6 | ||
# Download a version of maven compatible with openjdk6 | ||
install: | ||
- echo "Downloading Maven 3.0"; | ||
- wget https://archive.apache.org/dist/maven/binaries/apache-maven-3.0-bin.zip || travis_terminate 1 | ||
- unzip -qq apache-maven-3.0-bin.zip || travis_terminate 1 | ||
- export M2_HOME=$PWD/apache-maven-3.0 | ||
- export PATH=$M2_HOME/bin:$PATH | ||
- mvn -version | ||
- mvn clean package install -DskipTests -Dgpg.skip | ||
- openjdk7 | ||
# Do not install anything so that we can use our custom script. Instead, just | ||
# return true. | ||
install: true | ||
script: "./travis-build.sh" |