Skip to content

Commit

Permalink
Updating .travis.yml for Xcode 8
Browse files Browse the repository at this point in the history
  • Loading branch information
audaciouscode committed May 26, 2017
1 parent 9bc4340 commit 5d1be5d
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .travis.yml
@@ -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

0 comments on commit 5d1be5d

Please sign in to comment.