ZeroMQ/.travis.yml

25 lines
887 B
YAML

notifications:
slack: zewo:VjyVCCQvTOw9yrbzQysZezD1
os:
- linux
- osx
language: generic
sudo: required
dist: trusty
osx_image: xcode8
install:
- eval "$(curl -sL https://raw.githubusercontent.com/Zewo/Zewo/master/Scripts/Travis/install.sh)"
script:
- swift build --fetch # clones all dependencies
- rm -rf Packages/*/Tests # deletes dependency's tests until duplicate Package.tests issue can be resolved in SPM. At that point, remove.
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
swift build -Xcc -I/usr/local/include -Xlinker -L/usr/local/lib;
swift build --configuration release -Xcc -I/usr/local/include -Xlinker -L/usr/local/lib;
fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
swift build -Xlinker -rpath -Xlinker /usr/local/lib;
swift build --configuration release -Xlinker -rpath -Xlinker /usr/local/lib;
fi
- swift test