Skip to content
This repository has been archived by the owner on Aug 29, 2022. It is now read-only.

Commit

Permalink
Run CI for both Swift 4.0 and 4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zwaldowski committed Apr 28, 2018
1 parent 7fad91d commit 043d606
Showing 1 changed file with 25 additions and 7 deletions.
32 changes: 25 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,43 @@
language: objective-c
os: osx
osx_image: xcode9
rvm:
- 2.4.2
install:
- bundle install --quiet
matrix:
include:
- env: JOB=macOS
os: osx
osx_image: xcode9.2
language: objective-c
script: bundle exec fastlane mac ci
- env: JOB=iOS
os: osx
osx_image: xcode9.3
language: objective-c
script: bundle exec fastlane ios ci
after_failure:
- cat ~/Library/Developer/Xcode/DerivedData/Deferred-*/Logs/Test/*/Session-MobileDeferredTests-*.log | true
- cat ~/Library/Logs/scan/Deferred-*.log | true
- language: generic
- env: JOB=Linux SWIFT=4.0
os: linux
dist: trusty
sudo: required
env: JOB=Linux
install: eval "$(curl -sL https://swiftenv.fuller.li/install.sh)"
script: swift test
language: generic
install:
- echo "4.0" > .swift-version
- eval "$(curl -sL https://swiftenv.fuller.li/install.sh)"
script:
- swift --version
- swift test
- env: JOB=Linux SWIFT=4.1
os: linux
dist: trusty
sudo: required
language: generic
install:
- echo "4.1" > .swift-version
- eval "$(curl -sL https://swiftenv.fuller.li/install.sh)"
script:
- swift --version
- swift test
notifications:
email: false

0 comments on commit 043d606

Please sign in to comment.