Skip to content

Commit 9e875ed

Browse files
committed
Build framework using Carthage on CI
1 parent 6456010 commit 9e875ed

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

.travis.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
language: objective-c
22
osx_image: xcode8
3-
env:
4-
matrix:
5-
- VERSION=9.3
6-
- VERSION=latest
3+
matrix:
4+
include:
5+
- env: BUILD=9.3
6+
script: bundle exec rake ci:build[9.3]
7+
- env: BUILD=latest
8+
script: bundle exec rake ci:build[latest]
9+
- env: BUILD=carthage
10+
script: make carthage
711
cache:
812
bundler: true
913
directories:
@@ -15,8 +19,6 @@ install:
1519
- make install
1620
before_script:
1721
- xcodebuild -workspace ICInputAccessory.xcworkspace -list
18-
script:
19-
- bundle exec rake ci:build[$VERSION]
2022
notifications:
2123
email: false
2224
slack:

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ pod-install:
1313
setup: brew-install
1414
bundle install
1515
bundle exec pod install --no-repo-update
16+
17+
carthage:
18+
set -o pipefail && carthage build --no-skip-current --verbose | xcpretty

0 commit comments

Comments
 (0)