language: clojure
lein: lein2
dist: trusty
jdk:
  - oraclejdk8
cache:
  directories:
    - $HOME/.lein
    - $HOME/.m2
env:
  - LIBSODIUM_VERSION=1.0.15
  - LIBSODIUM_VERSION=1.0.13
matrix:
  allow_failures:
    - env: LIBSODIUM_VERSION=1.0.13
  fast_finish: true
install:
  - wget https://github.com/lvh/libsodium-debs/raw/master/libsodium-${LIBSODIUM_VERSION}_amd64.deb
  - sudo dpkg -i libsodium-${LIBSODIUM_VERSION}_amd64.deb
script:
  - lein with-profile +test cljfmt check
  - lein with-profile +test kibit
  - lein with-profile +test eastwood || true
  - lein with-profile +test ancient || true
  - lein test

after_success:
  - lein with-profile +test cloverage --codecov
  - bash <(curl -s https://codecov.io/bash) -f target/coverage/codecov.json

language: clojure
lein: lein2
dist: trusty
jdk:
  - oraclejdk8
cache:
  directories:
    - $HOME/.lein
    - $HOME/.m2
env:
  - LIBSODIUM_VERSION=1.0.16
  - LIBSODIUM_VERSION=1.0.15
  - LIBSODIUM_VERSION=1.0.14
  - LIBSODIUM_VERSION=1.0.13
matrix:
  allow_failures:
    - env: LIBSODIUM_VERSION=1.0.14
    - env: LIBSODIUM_VERSION=1.0.13
  fast_finish: true
install:
  - wget https://github.com/lvh/libsodium-debs/raw/master/libsodium-${LIBSODIUM_VERSION}_amd64.deb
  - sudo dpkg -i libsodium-${LIBSODIUM_VERSION}_amd64.deb
script:
  - lein with-profile +test cljfmt check
  - lein with-profile +test kibit
  - lein with-profile +test eastwood || true
  - lein with-profile +test ancient || true
  - lein test

after_success:
  - lein with-profile +test cloverage --codecov
  - bash <(curl -s https://codecov.io/bash) -f target/coverage/codecov.json

Add 1.0.14 and 1.0.16 to the build matrix
Add 1.0.14 and 1.0.16 to the build matrix
