Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9bc4340
commit 5d1be5d
Showing
1 changed file
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
language: objective-c | ||
osx_image: xcode7.3 | ||
osx_image: xcode8.3 | ||
|
||
xcode_project: PassiveDataKit.xcodeproj | ||
xcode_scheme: PassiveDataKit | ||
xcode_sdk: iphonesimulator9.3 | ||
xcode_sdk: iphonesimulator10.2 | ||
|
||
before_install: | ||
- brew cask uninstall oclint | ||
- brew tap oclint/formulae | ||
- brew install oclint | ||
|
||
script: | ||
- xctool -scheme PassiveDataKit -project PassiveDataKit.xcodeproj -sdk iphonesimulator9.3 ARCHS=i386 VALID_ARCHS=i386 CURRENT_ARCH=i386 ONLY_ACTIVE_ARCH=NO -reporter json-compilation-database:compile_commands.json build | ||
- xcodebuild test -scheme PassiveDataKitTests -project PassiveDataKit.xcodeproj -destination 'platform=iOS Simulator,name=iPhone 6,OS=9.3' | ||
- oclint-json-compilation-database -e AFNetworking -e mixpanel-iphone | ||
- xcodebuild test -list -project 'PassiveDataKit.xcodeproj' | ||
- set -o pipefail && travis_retry xcodebuild test -scheme 'PassiveDataKit' -project 'PassiveDataKit.xcodeproj' -destination 'platform=iOS Simulator,name=iPhone 6s,OS=10.2' | ||
- xcodebuild -project 'PassiveDataKit.xcodeproj' | tee xcodebuild.log | ||
- oclint-xcodebuild | ||
- oclint-json-compilation-database | ||
|