Skip to content

Commit 8056161

Browse files
committed
Add Linux to the Build Matrix
1 parent df87b50 commit 8056161

File tree

1 file changed

+26
-8
lines changed

1 file changed

+26
-8
lines changed

.travis.yml

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,26 @@
1-
os: osx
2-
language: objective-c
3-
osx_image: xcode8
4-
before_install:
5-
- cp ./cllvm.pc /usr/local/lib/pkgconfig/cllvm.pc
6-
- brew install llvm
7-
script:
8-
- swift build
1+
env:
2+
global:
3+
- LC_CTYPE=en_US.UTF-8
4+
matrix:
5+
include:
6+
- os: osx
7+
language: objective-c
8+
osx_image: xcode8
9+
before_install:
10+
- cp ./cllvm.pc /usr/local/lib/pkgconfig/cllvm.pc
11+
- brew install llvm
12+
script:
13+
- swift build
14+
- os: linux
15+
language: generic
16+
sudo: required
17+
dist: trusty
18+
before_install:
19+
- cp ./cllvm.pc /usr/local/lib/pkgconfig/cllvm.pc
20+
- sudo aptitude install llvm
21+
- wget -q -O - https://swift.org/keys/all-keys.asc | gpg --import -
22+
- wget https://swift.org/builds/swift-3.0-release/ubuntu1404/swift-3.0-RELEASE/swift-3.0-RELEASE-ubuntu14.04.tar.gz
23+
- tar xzf swift-3.0-RELEASE-ubuntu14.04.tar.gz
24+
- export PATH=${PWD}/swift-3.0-RELEASE-ubuntu14.04/usr/bin:"${PATH}"
25+
script:
26+
- swift build

0 commit comments

Comments
 (0)