forked from PerfectlySoft/Perfect-Authentication
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
23 lines (21 loc) · 730 Bytes
/
.travis.yml
File metadata and controls
23 lines (21 loc) · 730 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: generic
matrix:
include:
- os: osx
env: JOB=SwiftPM_OSX SWIFT_VERSION=3.1
osx_image: xcode8.3
install:
- travis_retry eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
script:
- swift build
- os: linux
env: JOB=SwiftPM_linux SWIFT_VERSION=3.1
dist: trusty
sudo: required
services:
- docker
before_install:
- docker pull sportlabs/perfectserver
script:
- PWDIR=`pwd`
- docker run --privileged -i -t -v $PWDIR:/Perfect-Authorization sportlabs/perfectserver /bin/bash -c "cd Perfect-Authorization; swift build"