-
Notifications
You must be signed in to change notification settings - Fork 29
/
.travis.yml
24 lines (23 loc) · 887 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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