Move pod and carthage commands out of fastlane

This commit is contained in:
Bob Sun 2018-08-13 21:13:09 -07:00
parent c87b4f2d2c
commit f8994f237d
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
2 changed files with 4 additions and 5 deletions

View file

@ -8,6 +8,9 @@ before_install:
install: install:
- gem update fastlane - gem update fastlane
- gem install xcodeproj - gem install xcodeproj
before_script:
- pod install
- travis_wait carthage bootstrap --platform iOS
script: script:
- fastlane test - fastlane test
- if [ "$TRAVIS_EVENT_TYPE" = "push" ]; then fastlane beta; fi - if [ "$TRAVIS_EVENT_TYPE" = "push" ]; then fastlane beta; fi

View file

@ -1,14 +1,10 @@
default_platform :ios default_platform :ios
platform :ios do platform :ios do
before_all do
cocoapods(repo_update: true)
carthage(platform: "iOS", verbose: true)
end
desc "Runs all the tests" desc "Runs all the tests"
lane :test do lane :test do
run_tests(scheme: "passTests") run_tests(scheme: "passTests")
run_tests(scheme: "passKitTests")
end end
desc "Submit a new Beta Build to Apple TestFlight" desc "Submit a new Beta Build to Apple TestFlight"