Skip to content

Commit

Permalink
Added Swift 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
vknabel committed Sep 24, 2018
1 parent f9ddd78 commit e7a0969
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,17 @@ notifications:
matrix:
include:
- os: osx
osx_image: xcode9.3beta # Actually released
osx_image: xcode10
script:
- make LIB_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib

- os: osx
osx_image: xcode9.4
script:
- make LIB_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib

- os: osx
osx_image: xcode9.3
script:
- make LIB_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib

Expand Down Expand Up @@ -86,3 +96,14 @@ matrix:
- sudo ldconfig
script:
- swift build -Xlinker -l:sourcekitdInProc -c release

- os: linux
env:
- SWIFT_VERSION=4.2
install:
- eval "$(curl -sL https://swiftenv.fuller.li/install.sh)"
- export LD_LIBRARY_PATH=/usr/lib:$SWIFTENV_ROOT/versions/$SWIFT_VERSION/usr/lib
- sudo ln -s $SWIFTENV_ROOT/versions/$SWIFT_VERSION/usr/lib/libsourcekitdInProc.so /usr/lib/sourcekitdInProc
- sudo ldconfig
script:
- swift build -Xlinker -l:sourcekitdInProc -c release

0 comments on commit e7a0969

Please sign in to comment.