Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (28 sloc) 694 Bytes
os:
- linux
- osx
language: generic
sudo: required
dist: trusty
osx_image: xcode9.2
before_install:
- if [ $TRAVIS_OS_NAME == "osx" ]; then
brew update;
brew tap vapor/tap;
brew update;
brew install vapor;
else
eval "$(curl -sL https://apt.vapor.sh)";
sudo apt-get install vapor;
sudo chmod -R a+rx /usr/;
fi
script:
- swift build
- swift build -c release
- swift test
after_success:
- eval "$(curl -sL https://raw.githubusercontent.com/vapor-community/swift/swift-4-codecov/codecov-swift4)"
notifications:
email:
on_success: change
on_failure: change