-
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (28 loc) · 694 Bytes
/
.travis.yml
File metadata and controls
32 lines (28 loc) · 694 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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