language: java

jdk:
  - oraclejdk8

env:
  matrix:
    - VAULT_VER=0.5.2
    - VAULT_VER=0.6.0
    - VAULT_VER=0.6.1
    - VAULT_VER=0.6.2

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

script: mvn clean verify

after_script:
  - pkill vault

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

language: java

jdk:
  - oraclejdk8

env:
  matrix:
    - VAULT_VER=0.5.2
    - VAULT_VER=0.6.0
    - VAULT_VER=0.6.1
    - VAULT_VER=0.6.2

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

after_script:
  - pkill vault

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

Replace Codehaus Nexus with OSS Sonatype in TravisCI build.
Replace Codehaus Nexus with OSS Sonatype in TravisCI build.

Fixes gh-17.
