Skip to content

Commit

Permalink
[CI] Bring back Xcode 9.2 and Swift 4.0.3 jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
ikesyo committed Apr 23, 2018
1 parent 193a413 commit efb644b
Showing 1 changed file with 30 additions and 3 deletions.
33 changes: 30 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,26 @@ matrix:
exclude:
- script: placeholder # workaround for https://github.com/travis-ci/travis-ci/issues/4681
include:
- script: set -o pipefail && xcodebuild -workspace "$TRAVIS_XCODE_WORKSPACE" -scheme "$TRAVIS_XCODE_SCHEME" test | xcpretty
xcode_scheme: Commandant
os: osx
osx_image: xcode9.2
language: objective-c
env: JOB=Xcode9.2
- script: set -o pipefail && xcodebuild -workspace "$TRAVIS_XCODE_WORKSPACE" -scheme "$TRAVIS_XCODE_SCHEME" test | xcpretty
xcode_scheme: Commandant
os: osx
osx_image: xcode9.3
language: objective-c
env: JOB=Xcode9
env: JOB=Xcode9.3
- script:
- swift --version
- swift build
- swift test
os: osx
osx_image: xcode9.2
language: objective-c
env: JOB=SPM
- script:
- swift --version
- swift build
Expand All @@ -25,7 +39,20 @@ matrix:
- swift --version
- swift build
- swift test
env: JOB=Linux
env:
- JOB=Linux
- SWIFT_VERSION=4.0.3
sudo: required
dist: trusty
language: generic
install:
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/02090c7ede5a637b76e6df1710e83cd0bbe7dcdf/swiftenv-install.sh)"
- script:
- swift --version
- swift build
- swift test
env:
- JOB=Linux
sudo: required
dist: trusty
language: generic
Expand All @@ -50,4 +77,4 @@ deploy:
on:
repo: Carthage/Commandant
tags: true
condition: $JOB = Xcode9
condition: $JOB = Xcode9.3

0 comments on commit efb644b

Please sign in to comment.