-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
24 lines (22 loc) · 864 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
# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
# Handle git submodules yourself
git:
submodules: false
# Use sed to replace the SSH URL with the public URL, then initialize submodules
before_install:
language: objective-c
cache: cocoapods
podfile: Example/Podfile
before_install:
- sed -e 's/[email protected]:/git:\/\/github.com\//' -i '' .gitmodules
- git submodule update --init --recursive
- gem install cocoapods # Since Travis is not always on latest version
- cd Pod/cmark && make && cd ../..
- pod install --project-directory=Example
install:
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
script:
- set -o pipefail && xcodebuild test -workspace Example/cmark-bridge.xcworkspace -scheme ios-tests -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty -c
- pod lib lint --quick