Skip to content

Commit 1055ca8

Browse files
authored
Merge pull request #54 from ReSwift/benji/add-travis
[CI] Add Initial Travis Config
2 parents c312a42 + ccbc65c commit 1055ca8

5 files changed

Lines changed: 45 additions & 2 deletions

File tree

.DS_Store

0 Bytes
Binary file not shown.

.travis.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
language: objective-c
2+
3+
install:
4+
- gem install xcpretty
5+
6+
env:
7+
global:
8+
- LC_CTYPE=en_US.UTF-8
9+
- LANG=en_US.UTF-8
10+
- FRAMEWORK_NAME="ReSwiftRouter"
11+
- UPDATE_DOCS="false"
12+
13+
osx_image: xcode8.2
14+
15+
matrix:
16+
include:
17+
- env: SCHEME="macOS" SDK="macosx10.12" DESTINATION="arch=x86_64"
18+
- env: SCHEME="iOS" SDK="iphonesimulator10.2" DESTINATION="OS=10.1,name=iPhone 6S Plus"
19+
- env: SCHEME="tvOS" SDK="appletvsimulator10.1" DESTINATION="OS=10.1,name=Apple TV 1080p"
20+
21+
script:
22+
- set -o pipefail
23+
- xcodebuild -version
24+
- xcodebuild -showsdks
25+
- xcodebuild
26+
-project "$FRAMEWORK_NAME.xcodeproj"
27+
-scheme "$FRAMEWORK_NAME-$SCHEME"
28+
-sdk "$SDK"
29+
-destination "$DESTINATION"
30+
-configuration Debug
31+
ONLY_ACTIVE_ARCH=YES
32+
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES
33+
GCC_GENERATE_TEST_COVERAGE_FILES=YES
34+
test
35+
36+
after_success:
37+
- bash <(curl -s https://codecov.io/bash) -J ReSwiftRouter

Carthage/Checkouts/ReSwift/ReSwift.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,7 @@
947947
PRODUCT_NAME = ReSwift;
948948
SDKROOT = iphoneos;
949949
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
950-
SWIFT_VERSION = 3.0.1;
950+
SWIFT_VERSION = 3.0;
951951
TARGETED_DEVICE_FAMILY = "1,2";
952952
TVOS_DEPLOYMENT_TARGET = 9.0;
953953
VERSIONING_SYSTEM = "apple-generic";
@@ -998,7 +998,7 @@
998998
PRODUCT_NAME = ReSwift;
999999
SDKROOT = iphoneos;
10001000
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
1001-
SWIFT_VERSION = 3.0.1;
1001+
SWIFT_VERSION = 3.0;
10021002
TARGETED_DEVICE_FAMILY = "1,2";
10031003
TVOS_DEPLOYMENT_TARGET = 9.0;
10041004
VALIDATE_PRODUCT = YES;

ReSwiftRouter.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,6 +1232,7 @@
12321232
ONLY_ACTIVE_ARCH = YES;
12331233
SDKROOT = iphoneos;
12341234
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
1235+
SWIFT_VERSION = 3.0;
12351236
TARGETED_DEVICE_FAMILY = "1,2";
12361237
VERSIONING_SYSTEM = "apple-generic";
12371238
VERSION_INFO_PREFIX = "";
@@ -1275,6 +1276,7 @@
12751276
MTL_ENABLE_DEBUG_INFO = NO;
12761277
SDKROOT = iphoneos;
12771278
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
1279+
SWIFT_VERSION = 3.0;
12781280
TARGETED_DEVICE_FAMILY = "1,2";
12791281
VALIDATE_PRODUCT = YES;
12801282
VERSIONING_SYSTEM = "apple-generic";

codecov.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
coverage:
2+
ignore:
3+
- ReSwiftRouterTests
4+
- Carthage

0 commit comments

Comments
 (0)