forked from ChatSecure/ChatSecure-iOS
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
24 lines (20 loc) · 889 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
language: objective-c
# Handle git submodules yourself
# http://stackoverflow.com/a/24600210/805882
git:
submodules: false
# Use sed to replace the SSH URL with the public URL, then initialize submodules
before_install:
- sed -i -e 's/[email protected]:/git:\/\/github.com\//' .gitmodules
- sed -i -e 's/[email protected]:/git:\/\/github.com\//' Podfile
- git submodule update --init --recursive
install:
- cp ChatSecure/OTRSecrets-Template.m ChatSecure/OTRSecrets.m
- export ARCHS="i386" # Only build CPAProxy dependencies for i386 to speed things up
- bash ./Submodules/CPAProxy/scripts/build-all.sh
- bash ./Submodules/OTRKit/scripts/build-all.sh
before_script:
- gem install cocoapods --no-rdoc --no-ri # Need Cocoapods >= 0.34.1
- pod install
script:
- xctool -workspace ChatSecure.xcworkspace -scheme ChatSecure -sdk iphonesimulator8.0 -arch i386 build