forked from segmentio/analytics-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (37 loc) · 1.12 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
37
38
39
40
41
42
43
44
language: objective-c
rvm: 1.9.3
env:
global:
- BUILD_CONFIGURATION=Debug
- OBJROOT=$PWD/build
- SYMROOT=$PWD/build
- ONLY_ACTIVE_ARCH=NO
- CODE_SIGNING_REQUIRED=NO
branches:
only:
- master
- dev
cache:
directories:
- Pods
before_install:
- pod repo add Segmentio-Podspecs https://github.com/segmentio/Podspecs.git
- pod repo add Collections-Podspecs https://github.com/collections/Podspecs.git
script:
- xctool -workspace Analytics.xcworkspace -scheme Analytics -sdk iphoneos -configuration Release ONLY_ACTIVE_ARCH=NO
- xctool test -workspace Analytics.xcworkspace -scheme Analytics -sdk iphonesimulator -configuration Release ONLY_ACTIVE_ARCH=NO
- xctool -workspace Analytics.xcworkspace -scheme Analytics.framework -sdk iphoneos -configuration Release ONLY_ACTIVE_ARCH=NO
# deploy:
# provider: s3
# access_key_id: {access_key_id}
# secret_access_key: {secret_access_key}
# bucket: segmentio-public-builds
# skip_cleanup: true
# local-dir: build
# upload-dir: ios
notifications:
email:
recipients:
on_success: change
on_failure: always