# This is necessary until https://github.com/travis-ci/travis-ci/issues/3120 is
# fixed
sudo: required

language: scala

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

scala:
  - 2.10.5
  - 2.11.7

jdk:
  - oraclejdk7
  # Note: not currently testing on JDK 8 internally
  - oraclejdk8
  - openjdk7

notifications:
  hipchat: 
    rooms: 
      secure: tcb+hO7CxqN2n8w38cejS4j7a30clWbwMCBxSsPBK4XyqCInCrw5RT+KPRwd+UtoNREgPmk7QeaeGTonEgW8g/1ArK2RTHTFsmMskAnIVjanTlVl3BKBl9gmHeU+nSeBp+yQb808/JkUq174M3hyoYAtHh7gEJ0eUpmry3JjuQg=
  template:
    - '%{repository}: %{message} /cc @csl'

before_script:
  # default $SBT_OPTS is irrelevant to sbt lancher
  - unset SBT_OPTS
  - ./bin/travisci
  - travis_retry ./sbt ++$TRAVIS_SCALA_VERSION update

script: ./sbt ++$TRAVIS_SCALA_VERSION coverage test
after_success: ./sbt ++$TRAVIS_SCALA_VERSION coveralls

# This is necessary until https://github.com/travis-ci/travis-ci/issues/3120 is
# fixed
sudo: required

language: scala

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

scala:
  - 2.10.5
  - 2.11.7

jdk:
  - oraclejdk7
  # Note: not currently testing on JDK 8 internally
  - oraclejdk8
  - openjdk7

notifications:
  hipchat: 
    rooms: 
      secure: tcb+hO7CxqN2n8w38cejS4j7a30clWbwMCBxSsPBK4XyqCInCrw5RT+KPRwd+UtoNREgPmk7QeaeGTonEgW8g/1ArK2RTHTFsmMskAnIVjanTlVl3BKBl9gmHeU+nSeBp+yQb808/JkUq174M3hyoYAtHh7gEJ0eUpmry3JjuQg=

before_script:
  # default $SBT_OPTS is irrelevant to sbt lancher
  - unset SBT_OPTS
  - ./bin/travisci
  - travis_retry ./sbt ++$TRAVIS_SCALA_VERSION update

script: ./sbt ++$TRAVIS_SCALA_VERSION coverage test
after_success: ./sbt ++$TRAVIS_SCALA_VERSION coveralls

Add Gitter badges and fix HipChat template and skip flaky tests
csl: Add Gitter badges and fix HipChat template and skip flaky tests

There are (still) plenty of problems with our Github repos:

a) Finagle build is broken;
b) READMEs don't have a link to Gitter room;

Solution

a) Add `SKIP_FLAKY` env variable to Travis' config to skip all the
   flakey tests;
b) Add Gitter badge for all the projects (except for Ostrich) that
   redirects to Finagle's room;

RB_ID=761629
