-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
30 lines (29 loc) · 1002 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
28
29
30
env:
global:
- SWIFT_BRANCH=development
- SWIFT_VERSION=swift-DEVELOPMENT-SNAPSHOT-2018-12-04-a
matrix:
include:
- os: linux
language: generic
dist: trusty
sudo: required
install:
- sudo apt-get install clang libicu-dev
- mkdir swift
- curl https://swift.org/builds/$SWIFT_BRANCH/ubuntu1404/$SWIFT_VERSION/$SWIFT_VERSION-ubuntu14.04.tar.gz -s | tar xz -C swift &> /dev/null
- export PATH="$(pwd)/swift/$SWIFT_VERSION-ubuntu14.04/usr/bin:$PATH"
script:
- swift package update
- swift test
- os: osx
osx_image: xcode10
language: swift
sudo: required
install:
- wget https://swift.org/builds/$SWIFT_BRANCH/xcode/$SWIFT_VERSION/$SWIFT_VERSION-osx.pkg
- sudo installer -pkg $SWIFT_VERSION-osx.pkg -target /
- export PATH="/Library/Developer/Toolchains/$SWIFT_VERSION.xctoolchain/usr/bin:$PATH"
script:
- swift package update
- swift test