-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (28 loc) · 1.06 KB
/
.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
31
32
language: generic
env: # important!
matrix:
include:
- name: "Linux Swift 5.0.3"
os: linux
dist: xenial
env: SWIFT_VERSION=5.0.3
install:
- mkdir swift
- curl https://swift.org/builds/swift-${SWIFT_VERSION}-release/ubuntu1604/swift-${SWIFT_VERSION}-RELEASE/swift-${SWIFT_VERSION}-RELEASE-ubuntu16.04.tar.gz -s | tar -xz -C swift
- export PATH="$(pwd)/swift/swift-${SWIFT_VERSION}-RELEASE-ubuntu16.04/usr/bin:$PATH"
- name: "Linux Swift 5.1.1"
os: linux
dist: xenial
env: SWIFT_VERSION=5.1.1
install:
- mkdir swift
- curl https://swift.org/builds/swift-${SWIFT_VERSION}-release/ubuntu1604/swift-${SWIFT_VERSION}-RELEASE/swift-${SWIFT_VERSION}-RELEASE-ubuntu16.04.tar.gz -s | tar -xz -C swift
- export PATH="$(pwd)/swift/swift-${SWIFT_VERSION}-RELEASE-ubuntu16.04/usr/bin:$PATH"
- name: "Mac Xcode 11.2 (Swift 5.1)"
os: osx
osx_image: xcode11.2
script:
- swift package reset
- swift package show-dependencies
- swift build
- swift test