Files @ cfae20cc8dbb
Branch filter:

Location: libtransport.git/.travis.yml

Vitaly Takmazov
Travis: run extended_test in a Stretch container
language: cpp
sudo: required
services:
  - docker
matrix:
  include:
    - os: linux
      dist: trusty
      sudo: required
    - os: osx
before_script:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
      brew update;
      brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/e6e43cf6a3%5E/Formula/cppunit.rb;
      brew install protobuf log4cxx popt;
      travis_wait 30 brew install -s libswiften;
    fi
script:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
      cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTS=ON .;
      make;
      make test;
    else
      docker build . -f Dockerfile.stretch;
    fi
notifications:
  slack: spectrum2:CIlYHtxGMAaxs3qVHfwBzCuy