[#293] Add fastlane lane that validates the Carthage setup

This commit is contained in:
Pedro Piñera Buendía 2016-09-28 16:41:37 +02:00
parent d42a01d90b
commit 4da475fbd9
2 changed files with 15 additions and 4 deletions

View File

@ -1,15 +1,21 @@
COMMIT_MESSAGE = "Bump podspec to"
lane :pods do
lane :dependencies do
cocoapods(podfile: "Example/")
carthage(command: "update")
end
lane :tests do
scan(workspace: "Example/SugarRecord.xcworkspace", scheme: "SugarRecord_Tests", device: "iPhone 6", skip_build: true)
end
lane :carthage_project do
carthage(command: "build", no_skip_current: true, verbose: true)
end
lane :travis do
pods
dependencies
carthage_project
tests
danger
end

View File

@ -5,9 +5,9 @@ fastlane documentation
sudo gem install fastlane
```
# Available Actions
### pods
### dependencies
```
fastlane pods
fastlane dependencies
```
### tests
@ -15,6 +15,11 @@ fastlane pods
fastlane tests
```
### carthage_project
```
fastlane carthage_project
```
### travis
```
fastlane travis