Skip to content

Commit 64a0e1f

Browse files
committed
Merge pull request #18 from hyperoslo/add/travis
Add Travis
2 parents babfd8d + 43b41d1 commit 64a0e1f

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

.travis.yml

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

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
5+
before_install:
6+
- brew update
7+
- if brew outdated | grep -qx xctool; then brew upgrade xctool; fi
78

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
9+
script:
10+
- xctool clean build -project Compass.xcodeproj -scheme Compass-iOS -sdk iphonesimulator
11+
- xctool test -project Compass.xcodeproj -scheme Compass-iOS -sdk iphonesimulator

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ anywhere, but remember, with great power comes great responsibility.
2020
First you need to register a URL scheme for your application
2121
<img src="https://raw.githubusercontent.com/hyperoslo/Compass/master/Images/setup-url-scheme.png">
2222

23+
[![CI Status](http://img.shields.io/travis/hyperoslo/Compass.svg?style=flat)](https://travis-ci.org/hyperoslo/Compass)
24+
2325
#### Step 2
2426
Now you need to configure Compass to use that URL scheme, a good place
2527
to do this is in your `AppDelegate`

0 commit comments

Comments
 (0)