language: scala
scala:
  - 2.11.11
  - 2.12.2
jdk:
  - oraclejdk8
script:
  - sbt ++$TRAVIS_SCALA_VERSION clean coverage test tut

  # check if there are no changes after `tut` runs
  - if [[ $TRAVIS_SCALA_VERSION =~ '^2\.12.*' ]]; then
      git diff --exit-code;
      fi
after_success:
  - sbt ++$TRAVIS_SCALA_VERSION coverageReport coverageAggregate coveralls
cache:
  directories:
    - $HOME/.ivy2/cache
    - $HOME/.sbt/boot

sudo: false

language: scala
scala:
  - 2.11.11
  - 2.12.2
jdk:
  - oraclejdk8
addons:
  apt:
    packages:
      - tor

script:
  - sbt ++$TRAVIS_SCALA_VERSION clean coverage test tut

  # check if there are no changes after `tut` runs
  - if [[ $TRAVIS_SCALA_VERSION =~ '^2\.12.*' ]]; then
      git diff --exit-code;
      fi
after_success:
  - sbt ++$TRAVIS_SCALA_VERSION coverageReport coverageAggregate coveralls

cache:
  directories:
    - $HOME/.ivy2/cache
    - $HOME/.sbt/boot

Migrate to container-based Travis and install Tor
Migrate to container-based Travis and install Tor
