Skip to content

Commit 43be233

Browse files
Improve travis config
1 parent f833853 commit 43be233

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
language: swift
22
script:
3-
- xcodebuild -project DeviceIdentificator.xcodeproj -scheme DeviceIdentificator -destination "platform=iOS Simulator,name=iPhone 7" -configuration Debug -enableCodeCoverage YES clean build test
4-
after_success:
5-
- bash <(curl -s https://codecov.io/bash) -J 'DeviceIdentificator'
3+
- xcodebuild -project DeviceIdentificator.xcodeproj -scheme DeviceIdentificator -destination "platform=iOS Simulator,name=iPhone 7" -configuration Debug -enableCodeCoverage YES clean build test | XCPRETTY_JSON_FILE_OUTPUT="xcodebuild-ios.json" xcpretty -f `xcpretty-json-formatter`
4+
- bash <(curl -s https://codecov.io/bash) -cF ios -J 'DeviceIdentificator'
5+
- swiftlint lint
6+
- pod lib lint

0 commit comments

Comments
 (0)