Skip to content

Commit

Permalink
[Chore] Use SPM to manage snapshot testing dependency (#247)
Browse files Browse the repository at this point in the history
* Use SPM to manage snapshot testing

* Re-record snapshots

* Update travis config for Xcode 12

* Fix travis config

* Fix travis config again
  • Loading branch information
johnxnguyen authored Feb 21, 2021
1 parent 21d522d commit 69c7029
Show file tree
Hide file tree
Showing 119 changed files with 70 additions and 1,749 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Carthage/Checkouts/
Pods/
.build/
.DS_Store
Expand Down
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
osx_image: xcode11.4
osx_image: xcode12.2
language: objective-c
before_install:
- set -o pipefail
- xcrun simctl boot "iPhone 11" || echo "(Pre)Launched the simulator."
- xcrun simctl boot "iPhone 12" || echo "(Pre)Launched the simulator."
script:
- travis_retry xcodebuild -project Down.xcodeproj -scheme "Down" -sdk iphonesimulator -destination "platform=iOS Simulator,OS=13.0,name=iPhone 11" -enableCodeCoverage YES ONLY_ACTIVE_ARCH=YES test
- travis_retry xcodebuild -project Down.xcodeproj -scheme "Down" -sdk iphonesimulator -destination "platform=iOS Simulator,OS=14.2,name=iPhone 12" -enableCodeCoverage YES ONLY_ACTIVE_ARCH=YES test
- travis_retry xcodebuild -project Down.xcodeproj -scheme "Down" -sdk macosx -destination 'platform=OS X,arch=x86_64' -enableCodeCoverage YES test
- travis_retry xcodebuild -project Down.xcodeproj -scheme "Down" -sdk appletvsimulator -destination 'platform=tvOS Simulator,name=Apple TV' -enableCodeCoverage YES test
- travis_retry xcodebuild -project Down.xcodeproj -scheme "DownSnapshotTests" -sdk iphonesimulator -destination "platform=iOS Simulator,OS=13.0,name=iPhone 11" -enableCodeCoverage YES ONLY_ACTIVE_ARCH=YES test
- travis_retry xcodebuild -project Down.xcodeproj -scheme "DownSnapshotTests" -sdk iphonesimulator -destination "platform=iOS Simulator,OS=14.2,name=iPhone 12" -enableCodeCoverage YES ONLY_ACTIVE_ARCH=YES test
after_success:
- bash <(curl -s https://codecov.io/bash)
1 change: 0 additions & 1 deletion Cartfile.private

This file was deleted.

1 change: 0 additions & 1 deletion Cartfile.resolved

This file was deleted.

27 changes: 0 additions & 27 deletions Carthage/Build/.swift-snapshot-testing.version

This file was deleted.

This file was deleted.

Binary file not shown.
1 change: 0 additions & 1 deletion Carthage/Build/Mac/SnapshotTesting.framework/Headers

This file was deleted.

1 change: 0 additions & 1 deletion Carthage/Build/Mac/SnapshotTesting.framework/Modules

This file was deleted.

1 change: 0 additions & 1 deletion Carthage/Build/Mac/SnapshotTesting.framework/Resources

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

Binary file not shown.

This file was deleted.

This file was deleted.

Binary file not shown.
Loading

0 comments on commit 69c7029

Please sign in to comment.