Skip to content

Commit

Permalink
Expand test matrix (#4)
Browse files Browse the repository at this point in the history
Expands the test matrix to include both Xcode 10 and 11, as well as iOS versions back to 10.
  • Loading branch information
NickEntin authored Jan 21, 2020
1 parent 2bcf5d4 commit 2bf144c
Show file tree
Hide file tree
Showing 50 changed files with 15 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
osx_image: xcode10.3
language: objective-c
jobs:
- osx_image: xcode11.3
env: DEST='platform=iOS Simulator,OS=13.3,name=iPhone 11 Pro'
- osx_image: xcode10.3
env: DEST='platform=iOS Simulator,OS=12.4,name=iPhone Xs'
- osx_image: xcode10.3
env: DEST='platform=iOS Simulator,OS=11.4,name=iPhone X'
- osx_image: xcode10.3
env: DEST='platform=iOS Simulator,OS=10.3.1,name=iPhone 7'
install:
- bundle install --gemfile=Example/Gemfile
- bundle exec --gemfile=Example/Gemfile pod install --project-directory=Example
script:
- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/Stagehand.xcworkspace -scheme "Stagehand Demo App" -sdk iphonesimulator12.4 ONLY_ACTIVE_ARCH=NO | xcpretty
- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/Stagehand.xcworkspace -scheme "Stagehand Demo App" -sdk iphonesimulator -destination "$DEST" ONLY_ACTIVE_ARCH=NO | xcpretty
- bundle exec --gemfile=Example/Gemfile pod lib lint
branches:
only:
- master
2 changes: 2 additions & 0 deletions Example/Unit Tests/AnimationSnapshotTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ final class AnimationSnapshotTests: FBSnapshotTestCase {
override func setUp() {
super.setUp()

fileNameOptions = [.OS, .screenSize, .screenScale]

recordMode = false
}

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ...onSnapshotTests/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added ...onSnapshotTests/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added ...nSnapshotTests/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ...nSnapshotTests/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ...mationSnapshotTests/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added ...nimationSnapshotTests/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ...nimationSnapshotTests/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added ...tionSnapshotTests/[email protected]
File renamed without changes
Binary file added ...mationSnapshotTests/[email protected]
Binary file added ...mationSnapshotTests/[email protected]
Binary file added ...sts.AnimationSnapshotTests/[email protected]
File renamed without changes
Binary file added ...ts.AnimationSnapshotTests/[email protected]
File renamed without changes
Binary file added ...ests.AnimationSnapshotTests/[email protected]
Binary file added ...ests.AnimationSnapshotTests/[email protected]
Binary file added ...AnimationSnapshotTests/[email protected]
File renamed without changes
Binary file added ...s.AnimationSnapshotTests/[email protected]
Binary file added ...s.AnimationSnapshotTests/[email protected]
Binary file added ....AnimationSnapshotTests/[email protected]
Binary file added ...ts.AnimationSnapshotTests/[email protected]
Binary file added ...ts.AnimationSnapshotTests/[email protected]
Binary file added ...ts.AnimationSnapshotTests/[email protected]

0 comments on commit 2bf144c

Please sign in to comment.