language: java

jdk:
  - oraclejdk8

sudo: false

addons:
  apt:
    sources:
      - debian-sid
    packages:
      - libssl1.0.0

env:
  matrix:
    - VAULT_VER=0.5.2
    - VAULT_VER=0.6.0
    - VAULT_VER=0.6.1
    - VAULT_VER=0.6.2
    - VAULT_VER=0.6.3
    - VAULT_VER=0.6.4
    - VAULT_VER=0.6.5
    - VAULT_VER=0.7.0
    - PROFILE=springNext

before_install:
  - sed -i.bak -e 's|https://nexus.codehaus.org/snapshots/|https://oss.sonatype.org/content/repositories/codehaus-snapshots/|g' ~/.m2/settings.xml

install:
  - src/test/bash/start.sh

script: mvn clean verify -P${PROFILE:-ci}

after_script:
  - pkill vault

cache:
  directories:
    - '$HOME/.m2/repository'
    - 'download'

language: java

jdk:
  - oraclejdk8

sudo: false

addons:
  apt:
    sources:
      - debian-sid
    packages:
      - libssl1.0.0

env:
  matrix:
    - VAULT_VER=0.5.2
    - VAULT_VER=0.6.0
    - VAULT_VER=0.6.1
    - VAULT_VER=0.6.2
    - VAULT_VER=0.6.3
    - VAULT_VER=0.6.4
    - VAULT_VER=0.6.5
    - VAULT_VER=0.7.0
    - PROFILE=springNext

before_install:
  - test ! -f ~/.m2/settings.xml || rm ~/.m2/settings.xml

install:
  - src/test/bash/start.sh

script: mvn clean verify -P${PROFILE:-ci}

after_script:
  - pkill vault

cache:
  directories:
    - '$HOME/.m2/repository'
    - 'download'

Remove settings.xml before starting TravisCI builds.
Remove settings.xml before starting TravisCI builds.

TravisCI's settings.xml is outdated and contains references to obsolete repositories.

See gh-83.
