-
Notifications
You must be signed in to change notification settings - Fork 90
/
.travis.yml
36 lines (31 loc) · 1.26 KB
/
.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
25
26
27
28
29
30
31
32
33
34
35
36
language: objective-c
osx_image: xcode11.2
env:
global:
- secure: H45yyUlB0cXQrzTTcnmD3WrkCyqjUzaop2jHgmBF3bm8ue4XOcTWKDSDcAN39SG0FUeDC7GdDCtWAc3VCpLwN++5IznAnvBuZSGgxQ2lCxWMhdTtXtOWU2mivgVvs+uldS7/TuVlOjZ7inrTgetl+jgFjenwESOGIIZwn7SXpPo=
- BUILD_DEST="platform=iOS Simulator,OS=13.2,name=iPhone 8"
- BUILD_PROJECT_LIB="-project Snowplow.xcodeproj"
- BUILD_SCHEME_LIB="-scheme Snowplow-iOS"
- BUILD_WORKSPACE_DEMO="-workspace SnowplowDemo.xcworkspace"
- BUILD_SCHEME_DEMO="-scheme SnowplowDemo"
rvm:
- 2.3.7
before_install:
- gem install slather
- gem install xcpretty -N --no-document
- gem install cocoapods -v '1.8.4'
- carthage version
jobs:
include:
- name: "Test Snowplow framework [iOS]"
install:
- carthage bootstrap --platform iOS
script:
- set -o pipefail && xcodebuild -sdk iphonesimulator -destination "${BUILD_DEST}" ${BUILD_PROJECT_LIB} ${BUILD_SCHEME_LIB} clean test | xcpretty
after_success: slather
- name: "Test Snowplow ObjC demo app [iOS]"
install:
- cd Examples/SnowplowDemo
- pod update
script:
- set -o pipefail && xcodebuild -sdk iphonesimulator -destination "${BUILD_DEST}" ${BUILD_WORKSPACE_DEMO} ${BUILD_SCHEME_DEMO} clean test | xcpretty