forked from defagos/CoconutKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
18 lines (16 loc) · 1.08 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
language: objective-c
before_install:
- brew update
- brew install mogenerator
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
script:
- set -o pipefail
# Builds the static and Cocoa Touch frameworks containing all architectures
- xcodebuild -workspace CoconutKit.xcworkspace -scheme CoconutKit-staticframework | xcpretty -c
- xcodebuild -workspace CoconutKit.xcworkspace -scheme CoconutKit-framework | xcpretty -c
# Demo and tests for 32 bits
- xcodebuild -workspace CoconutKit.xcworkspace -scheme CoconutKit-dev -destination 'platform=iOS Simulator,name=iPad 2' | xcpretty -c
- xcodebuild test -workspace CoconutKit.xcworkspace -scheme CoconutKit-tests-runner -destination 'platform=iOS Simulator,name=iPad 2' | xcpretty -c
# Demo and tests for 64 bits
- xcodebuild -workspace CoconutKit.xcworkspace -scheme CoconutKit-dev -destination 'platform=iOS Simulator,name=iPad Air' | xcpretty -c
- xcodebuild test -workspace CoconutKit.xcworkspace -scheme CoconutKit-tests-runner -destination 'platform=iOS Simulator,name=iPad Air' | xcpretty -c