Files @ d11fdaf3e279
Branch filter:

Location: libtransport.git/.travis.yml

Sebastian Krzyszkowiak
systemd: wait for network-online.target and add WantedBy=multi-user.target

Thanks to that, "systemctl enable spectrum2" does what expected, that is
makes Spectrum2 start on boot. Also, network.target doesn't tell anything
meaningful - it's just that the network stack is available.
Adding network-online.target makes sure that the network interfaces are up
before starting Spectrum2.
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 cppunit protobuf log4cxx popt jsoncpp;
      travis_wait 30 brew install 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