-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
31 lines (28 loc) · 1.75 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
language: objective-c
osx_image: xcode7.3
branches:
only:
- master
before_script:
- brew update
- brew uninstall xctool && brew install --HEAD xctool
- openssl aes-256-cbc -k "$ENCRYPTION_SECRET" -in scripts/profile/provisioning.mobileprovision.enc -d -a -out scripts/profile/provisioning.mobileprovision
- openssl aes-256-cbc -k "$ENCRYPTION_SECRET" -in scripts/certs/dist.cer.enc -d -a -out scripts/certs/dist.cer
- openssl aes-256-cbc -k "$ENCRYPTION_SECRET" -in scripts/certs/dist.p12.enc -d -a -out scripts/certs/dist.p12
- sh scripts/add-key.sh
script:
- xctool -project SweetHMAC/SweetHMAC.xcodeproj -scheme "CommonCrypto" -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
- xctool -project SweetHMAC/SweetHMAC.xcodeproj -scheme "CommonCrypto" -sdk macosx ONLY_ACTIVE_ARCH=NO
- xctool -project SweetHMAC/SweetHMAC.xcodeproj -scheme "SweetHMAC" -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
- xctool -project SweetHMAC/SweetHMAC.xcodeproj -scheme "SweetHMAC" -sdk macosx ONLY_ACTIVE_ARCH=NO
- xctool test -project SweetHMAC/SweetHMAC.xcodeproj -scheme "SweetHMAC OSX Tests" -sdk macosx ONLY_ACTIVE_ARCH=NO
- xctool test -project SweetHMAC/SweetHMAC.xcodeproj -scheme "SweetHMAC iOS Tests" -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
after_script:
- ./scripts/remove-key.sh
env:
global:
- APP_NAME="SweetHMAC"
- 'DEVELOPER_NAME="iPhone Distribution: Janio Cassio Leite (D9P69ND6CZ)"'
- PROFILE_NAME="provisioning"
- secure: lFl6wZdM+BVZY0Z3PefQm70OFQPPhebmdKz399Ed1c3kRYOXCSP3R6nOTOAP7rGQW0KQ6xx3qPsIlBwY03t3j5alUROKFbebJzAOsjny7gHU1WrwkidK3CNlW8MF1B9zL3Mz0Jje4gstSArzaFCAQnJE7KNmJLlWOum1SkUc+4k=
- secure: Bm+G7RkjVvXOGqkvcWiatXND7uzAHKzEpH0y64YACewxmhRu4zgkRPSrJY0PYtj1KgfVURYZlXSdymWENKnKB0aaUg+AhFUFV972nVFs9MA8iAA4rUOMOZKtWu6Fp+GtoWPUlLgryb5zTSJsIE3OYbKUa7inlGnMwgo2Yr2ZPLA=