sudo: false

language: scala

scala:
  - 2.11.11
  - 2.12.2

jdk:
  - oraclejdk8

# These directories are cached to S3 at the end of the build
cache:
  directories:
    - $HOME/.ivy2/cache
    - $HOME/.sbt/boot/

script:
  - sbt -sbt-version 0.13.15 -scala-version $TRAVIS_SCALA_VERSION ';clean ;coverage ;testOnly -- xonly ;coverageReport'
  - find $HOME/.sbt -name "*.lock" | xargs rm
  - find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm

after_success:
- bash <(curl -s https://codecov.io/bash)

sudo: false

language: scala

scala:
  - 2.11.11
  - 2.12.2

jdk:
  - oraclejdk8

install:
  - pip install --user codecov

# These directories are cached to S3 at the end of the build
cache:
  directories:
    - $HOME/.ivy2/cache
    - $HOME/.sbt/boot/

script:
  - sbt -sbt-version 0.13.15 -scala-version $TRAVIS_SCALA_VERSION ';clean ;coverage ;testOnly -- xonly ;coverageReport' && codecov
  - find $HOME/.sbt -name "*.lock" | xargs rm
  - find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm


Add code coverage and use codecov from the command line
Add code coverage and use codecov from the command line

closes #72
