This repository has been archived by the owner on Oct 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
53 lines (52 loc) · 5.01 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
45
46
47
48
49
50
51
52
53
sudo: false
language: objective-c
osx_image: xcode8
#matrix:
# include:
# - osx_image: xcode7.2
# env: CP_IOS_SIMULATOR="iphonesimulator9.2" CP_IOS_SIMULATOR_OS="platform=iOS Simulator,name=iPhone 5s,OS=9.2"
# - osx_image: xcode7.1
# env: CP_IOS_SIMULATOR="iphonesimulator9.1" CP_IOS_SIMULATOR_OS="platform=iOS Simulator,name=iPhone 5s,OS=9.1"
# - osx_image: xcode7
# env: CP_IOS_SIMULATOR="iphonesimulator9.0" CP_IOS_SIMULATOR_OS="platform=iOS Simulator,name=iPhone 5s,OS=9.0"
# - osx_image: xcode7
# env: CP_IOS_SIMULATOR="iphonesimulator9.0" CP_IOS_SIMULATOR_OS="platform=iOS Simulator,name=iPhone 5s,OS=8.4"
# - osx_image: xcode7
# env: CP_IOS_SIMULATOR="iphonesimulator9.0" CP_IOS_SIMULATOR_OS="platform=iOS Simulator,name=iPhone 5s,OS=8.3"
## - osx_image: xcode7
## env: CP_IOS_SIMULATOR="iphonesimulator9.0" CP_IOS_SIMULATOR_OS="platform=iOS Simulator,name=iPhone 5s,OS=8.2"
# - osx_image: xcode7
# env: CP_IOS_SIMULATOR="iphonesimulator9.0" CP_IOS_SIMULATOR_OS="platform=iOS Simulator,name=iPhone 5s,OS=8.1"
podfile: ./Podfile
os: osx
cache: false
branches:
only:
- master
- develop
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- PROFILE_NAME="Travis_Provisioning_Profile"
- secure: "hHUasR83TpWDg4dmfGtB7W54jNvLCvi1mGVQVwbyyLA95mhvtQGAU8T8RGZKqsxM3lax3b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Kyu631ISiq8e+BROuLoO0QNKU/XSpzK/qROk4E2PfkpZTTlU/WLca6TbqGvM57V6MSH9ZhdEBMHU9ISP3DyHlYHdKCcQuISNRCNkdp7Q62jsCqoQ2cpxNCK7iF8f199xqvXOe4Q3ZT5WgLzb+NxB18KAX/tuROSMCf9ar58Pgh/2l3HW05FyRQcSh2a7t9kndtyPECSxVqoiHDH/QDlhfhwpmr0HngEO+tEGaWqDSPdL2PJuIgTwi5scPkVsC15UOw0gLTyxIceWon4AFn/+6BXutvhjWneAR/2lN+O6QY5K/1qj94EUIoSLNaq2r0CZG+N6Zhx43OjaRsVvD2Oazw2V8OivXWMTynbRHc08IzX4rFYhaZEfLDl/+tsoOkFCcAQmPh5XY6DAr8NQH/KedE/tG9Mq/HVId8qaiz+u4r1lTiyxDCbSv1bAN7QD3zI1jTJMs2wweP5TfqdEB0jm/wsUoFz8lBxMu9tAfOsHFmDwfkj5rxI/fgvOqRY="
matrix:
- CP_IOS_SIMULATOR="iphonesimulator10.0" CP_IOS_SIMULATOR_OS="platform=iOS Simulator,name=iPhone 5s,OS=10.0"
before_install:
- gem install cocoapods --no-rdoc --no-ri --no-document --quiet
- gem cleanup
- ./Vendor/upgrade-xctool.sh
- openssl aes-256-cbc -k "$ENCRYPTION_SECRET" -in Vendor/Travis_Provisioning_Profile.mobileprovision.enc -d -a -out Vendor/Travis_Provisioning_Profile.mobileprovision
- openssl aes-256-cbc -k "$ENCRYPTION_SECRET" -in Vendor/certificate.cer.enc -d -a -out Vendor/certificate.cer
- openssl aes-256-cbc -k "$ENCRYPTION_SECRET" -in Vendor/key.p12.enc -d -a -out Vendor/key.p12
- ./Vendor/add-key.sh
- ./Vendor/add-constants.sh
script:
- xcodebuild test -quiet -scheme "aBikeFramework" -workspace "aBike—Lyon.xcworkspace" -sdk $CP_IOS_SIMULATOR -destination "$CP_IOS_SIMULATOR_OS"
after_script:
- ./Vendor/remove-key.sh
- ./Vendor/remove-constants.sh
- sleep 3