Files
@ d11fdaf3e279
Branch filter:
Location: libtransport.git/.travis.yml - annotation
d11fdaf3e279
590 B
text/x-yaml
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.
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.
5a8bf5d7ed52 cfae20cc8dbb cfae20cc8dbb cfae20cc8dbb bad46c063f0c bad46c063f0c bad46c063f0c bad46c063f0c bad46c063f0c bad46c063f0c 5a8bf5d7ed52 cfae20cc8dbb bad46c063f0c 885741503728 885741503728 bad46c063f0c 5a8bf5d7ed52 cfae20cc8dbb cfae20cc8dbb cfae20cc8dbb bad46c063f0c cfae20cc8dbb cfae20cc8dbb bad46c063f0c 9cd7de126dd0 9cd7de126dd0 | 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
|