Skip to content

Commit 26e89ce

Browse files
committed
Update travis
1 parent 5b551dd commit 26e89ce

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

.travis.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1+
osx_image: xcode8
12
language: objective-c
2-
cache: cocoapods
3-
before_install: gem install cocoapods obcd slather -N
43

5-
# Use when you don't have third party dependencies
6-
script: xctool -project Pod/Pod.xcodeproj -scheme Tests -sdk iphonesimulator build test GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES clean test
4+
script:
5+
- xcodebuild clean build -project Keychains.xcodeproj -scheme "Keychains-Mac" -sdk macosx
6+
- xcodebuild test -project Keychains.xcodeproj -scheme "Keychains-Mac" -sdk macosx
7+
- xcodebuild clean build -project Keychains.xcodeproj -scheme "Keychains-iOS" -sdk iphonesimulator
8+
- xcodebuild test -project Keychains.xcodeproj -scheme "Keychains-iOS" -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.0' | xcpretty
79

8-
# Use when you have third party dependencies (CocoaPods generates a workspace)
9-
# podfile: Pod/Podfile
10-
# script: xctool -workspace Pod/Pod.xcworkspace -scheme Tests -sdk iphonesimulator build test GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES clean test
11-
12-
after_success: slather
10+
notifications:
11+
email: false

0 commit comments

Comments
 (0)