-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (32 loc) · 824 Bytes
/
.travis.yml
File metadata and controls
32 lines (32 loc) · 824 Bytes
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
language: objective-c
cache:
- cocoapods
podfile: Example/Podfile
xcode_workspace: Example/ROSiOS.xcworkspace
xcode_scheme: ROSiOS-Example
osx_image: xcode7.2
xcode_sdk: iphonesimulator
env:
global:
- BUILD_LOG=build.log
matrix:
- TRAVIS_XCODE_DESTINATION='platform=iOS Simulator,name=iPhone 6'
- TRAVIS_XCODE_DESTINATION='platform=iOS Simulator,name=iPhone 5'
before_install:
- brew update
- brew outdated xctool || brew upgrade xctool
- rvm install ruby-2.2.0
- gem install cocoapods --no-document
- gem install xcpretty --no-document
script:
- make test
- pod lib lint --quick
after_failure:
- echo "=== Xcode Build log ==="
- cat $TRAVIS_BUILD_DIR/$BUILD_LOG
- echo "=== end of Xcode Build log ==="
deploy:
provider: script
script: ./scripts/pod-release.sh
on:
tags: true