Skip to content

Commit

Permalink
Merge pull request #172 from net-a-porter-mobile/ci
Browse files Browse the repository at this point in the history
Update travis to include Xcode12 / iOS 14
  • Loading branch information
deanWombourne authored Sep 19, 2020
2 parents 5c331f3 + cfea51c commit 219d085
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,19 @@ before_install:

matrix:
include:
- name: "Xcode 10.2 iOS 12.2 iPhone 6"
osx_image: xcode10.2
env: DESTINATION='platform=iOS Simulator,name=iPhone 6,OS=12.2' UI=true
- name: "Xcode 10.2 iOS 11.3 iPhone 6"
osx_image: xcode10.2
env: DESTINATION='platform=iOS Simulator,name=iPhone 6,OS=11.3' UI=true
- name: "Xcode 10.2 iOS 10.3.1 iPhone 6"
osx_image: xcode10.2
env: DESTINATION='platform=iOS Simulator,name=iPhone 6,OS=10.3.1' UI=true
- name: "Xcode 11.3.1 iOS 12.4 iPhone 6"
osx_image: xcode11.3
env: DESTINATION='platform=iOS Simulator,name=iPhone 6,OS=12.4' UI=true
- name: "Xcode 11.3.1 iOS 13.3 iPhone 8"
osx_image: xcode11.3
env: DESTINATION='platform=iOS Simulator,name=iPhone 8,OS=13.3' UI=true
- name: "Xcode 12 iOS 14 iPhone 8"
osx_image: xcode12
env: DESTINATION='platform=iOS Simulator,name=iPhone 8,OS=14.0' UI=true

script:
- set -o pipefail
- travis/validate_carthage.sh
- xcodebuild -destination "$DESTINATION" -workspace Example/XCTest-Gherkin.xcworkspace -scheme XCTest-Gherkin-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO test | xcpretty -f `xcpretty-gherkin-formatter/bin/xcpretty-gherkin-formatter`
- if [ $UI ]; then xcodebuild -destination "$DESTINATION" -workspace Example/XCTest-Gherkin.xcworkspace -scheme XCTest-Gherkin-Example-UI -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO test | xcpretty -f `xcpretty-gherkin-formatter/bin/xcpretty-gherkin-formatter`; fi
- bundle exec pod lib lint
- bundle exec pod lib lint --allow-warnings

0 comments on commit 219d085

Please sign in to comment.