forked from crushlovely/Amaro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
22 lines (18 loc) · 1.17 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
language: objective-c
env:
global:
- LANG=en_US.UTF-8
# The version of xctool installed in the Travis VM is flaky when testing against iOS 7 targets.
# The HEAD works. Unfortunately they haven't had a release in a while, so we can't target a specific version.
before_install:
- gem install cocoapods --no-ri --no-rdoc
- brew update
- brew unlink xctool
- brew install xctool --HEAD
script:
- xctool -workspace CrushBootstrap.xcworkspace -scheme CrushBootstrap-Staging -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone Retina (4-inch)' build test ARCHS=i386 VALID_ARCHS=i386 ONLY_ACTIVE_ARCH=NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES GCC_PREPROCESSOR_DEFINITIONS='${inherited} CI=1'
# >>>bootstrap-only
- ./bootstrap-scripts/tiramisu-expect
- cd AmaroTest
- xctool -workspace AmaroTest.xcworkspace -scheme AmaroTest-Staging -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone Retina (4-inch)' build test ARCHS=i386 VALID_ARCHS=i386 ONLY_ACTIVE_ARCH=NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES GCC_PREPROCESSOR_DEFINITIONS='${inherited} CI=1'
# <<<bootstrap-only