2015-05-12 11:13:49 +08:00
|
|
|
language: objective-c
|
2016-12-14 13:40:34 +08:00
|
|
|
osx_image: xcode8.2
|
2015-05-12 11:13:49 +08:00
|
|
|
|
2016-07-28 23:04:42 +08:00
|
|
|
xcode_project: Gzip.xcodeproj
|
2015-05-12 11:13:49 +08:00
|
|
|
matrix:
|
2016-08-18 04:36:38 +08:00
|
|
|
include:
|
|
|
|
- xcode_scheme: Gzip macOS
|
|
|
|
xcode_sdk: macosx
|
|
|
|
env: DESTINATION="arch=x86_64"
|
|
|
|
- xcode_scheme: Gzip iOS
|
|
|
|
xcode_sdk: iphonesimulator
|
|
|
|
env: DESTINATION="OS=10.0,name=iPhone SE"
|
2015-08-02 17:30:13 +08:00
|
|
|
|
2016-08-18 17:03:43 +08:00
|
|
|
before_install:
|
2016-08-18 17:17:44 +08:00
|
|
|
- gem install xcpretty
|
|
|
|
- gem install xcpretty-travis-formatter
|
2016-11-26 04:58:21 +08:00
|
|
|
- gem install cocoapods
|
2016-08-18 17:03:43 +08:00
|
|
|
script:
|
2016-11-26 04:58:21 +08:00
|
|
|
- xcodebuild
|
|
|
|
-project "$TRAVIS_XCODE_PROJECT"
|
|
|
|
-scheme "$TRAVIS_XCODE_SCHEME"
|
|
|
|
-sdk "$TRAVIS_XCODE_SDK"
|
|
|
|
-destination "$DESTINATION"
|
|
|
|
clean test
|
|
|
|
| xcpretty -f `xcpretty-travis-formatter`
|
|
|
|
- pod lib lint --quick
|
2016-08-18 04:38:16 +08:00
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|