# configuration for https://travis-ci.org/bitcoinj/bitcoinj
language: java
jdk: openjdk6
before_install: lsb_release -a
install: true # remove default
script:
  - mvn -q clean install
  - cd wallettemplate
  - jdk_switcher use oraclejdk8
  - mvn -q clean install

after_success:
  - cd ../core
  - mvn jacoco:report coveralls:report

notifications:
  irc:
    channels: "irc.freenode.net#bitcoinj"
    skip_join: true

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

after_success:
  - cd ../core
  - mvn jacoco:report coveralls:report

notifications:
  irc:
    channels: "irc.freenode.net#bitcoinj"
    skip_join: true

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