forked from antitypical/Result
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
27 lines (27 loc) · 980 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
25
26
27
matrix:
include:
- script:
- xcodebuild test -scheme Result-Mac
- xcodebuild test -scheme Result-iOS -sdk iphonesimulator
- xcodebuild test -scheme Result-tvOS -sdk appletvsimulator
- xcodebuild build -scheme Result-watchOS -sdk watchsimulator
- pod lib lint
env: JOB=Xcode
os: osx
osx_image: xcode7.1
language: objective-c
- script: swift build
env: JOB=Linux
sudo: required
dist: trusty
language: generic
before_install:
- wget -q -O - https://swift.org/keys/all-keys.asc | gpg --import -
- cd ..
- export SWIFT_VERSION=swift-DEVELOPMENT-SNAPSHOT-2016-01-25-a
- wget https://swift.org/builds/development/ubuntu1404/$SWIFT_VERSION/$SWIFT_VERSION-ubuntu14.04.tar.gz
- tar xzf $SWIFT_VERSION-ubuntu14.04.tar.gz
- export PATH="${PWD}/${SWIFT_VERSION}-ubuntu14.04/usr/bin:${PATH}"
- cd Result
notifications:
email: false