Skip to content

Commit 17a2d79

Browse files
committed
Add a Swift 4 job on Linux for CI
1 parent 67eabdc commit 17a2d79

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,21 @@ jobs:
105105
git:
106106
submodules: false
107107
env: JOB=SWIFTPM_LINUX
108+
- os: linux
109+
language: generic
110+
sudo: required
111+
dist: trusty
112+
before_install:
113+
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
114+
script:
115+
- swift --version
116+
- swift build
117+
- SWIFTPM_TEST_ReactiveSwift=YES swift test
118+
git:
119+
submodules: false
120+
env:
121+
- JOB=SWIFTPM_SWIFT_4_LINUX
122+
- SWIFT_VERSION=DEVELOPMENT-SNAPSHOT-2017-07-13-a
108123
- stage: prepare carthage cache
109124
script: carthage build --cache-builds
110125
- stage: carthage

0 commit comments

Comments
 (0)