-
Notifications
You must be signed in to change notification settings - Fork 81
/
.travis.yml
40 lines (33 loc) · 1004 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
language: objective-c
install:
- gem install xcpretty
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- FRAMEWORK_NAME="ReSwiftRouter"
- UPDATE_DOCS="false"
osx_image: xcode10.2
matrix:
include:
- env: SCHEME="macOS" SDK="macosx10.14" DESTINATION="arch=x86_64"
- env: SCHEME="iOS" SDK="iphonesimulator12.2" DESTINATION="OS=12.2,name=iPhone X"
- env: SCHEME="tvOS" SDK="appletvsimulator12.2" DESTINATION="OS=10.2,name=Apple TV 1080p"
before_install:
- carthage bootstrap --platform "$SCHEME" --verbose
script:
- set -o pipefail
- xcodebuild -version
- xcodebuild -showsdks
- xcodebuild
-project "$FRAMEWORK_NAME.xcodeproj"
-scheme "$FRAMEWORK_NAME-$SCHEME"
-sdk "$SDK"
-destination "$DESTINATION"
-configuration Debug
ONLY_ACTIVE_ARCH=YES
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES
GCC_GENERATE_TEST_COVERAGE_FILES=YES
test
after_success:
- bash <(curl -s https://codecov.io/bash) -J ReSwiftRouter