forked from ChatSecure/ChatSecure-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
27 lines (23 loc) · 1.09 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
language: objective-c
osx_image: xcode7.3
# 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 OTRResources/Secrets-template.plist OTRResources/Secrets.plist
- cp configurations/OTR_Codesigning.xcconfig.sample configurations/OTR_Codesigning.xcconfig
- 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
- export COCOAPODS_DISABLE_DETERMINISTIC_UUIDS=1 # https://github.com/CocoaPods/CocoaPods/issues/3850
- pod install
script:
- xctool -workspace ChatSecure.xcworkspace -scheme ChatSecureTests -sdk iphonesimulator -arch i386 test