Configure Travis to compile everything using Java 8, then compile orchid and bitcoinj-core using Java 6.

This commit is contained in:
Andreas Schildbach 2014-11-20 16:08:55 +01:00
parent 2a71858c76
commit 4300cab9fc

View File

@ -1,13 +1,15 @@
# configuration for https://travis-ci.org/bitcoinj/bitcoinj
language: java
jdk: openjdk6
jdk: oraclejdk8
before_install: lsb_release -a
install: true # remove default
script:
- mvn -q clean install
- cd wallettemplate
- jdk_switcher use oraclejdk8
- mvn -q clean install
- jdk_switcher use openjdk6
- cd orchid
- mvn -q clean package
- cd ../core
- mvn -q clean package
after_success:
- cd ../core