Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (20 sloc) 622 Bytes
os:
- linux
- osx
language: generic
sudo: required
dist: trusty
osx_image: xcode9.3
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)";
swiftenv install 4.1.1;
swiftenv global 4.1.1;
export LD_LIBRARY_PATH=$HOME/.swiftenv/versions/4.1/usr/lib/swift/linux:$LD_LIBRARY_PATH;
fi
- swift --version
script:
- make test
- ./dogFooding.sh
after_success:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./runXcodeTest.sh; bash <(curl -s https://codecov.io/bash); fi