forked from cp3hnu/CPImageViewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (31 loc) · 3.93 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
before_script:
- openssl aes-256-cbc -k "$ENCRYPTION_SECRET" -in scripts/profile/CPImageViewer.mobileprovision.enc
-d -a -out scripts/profile/CPImageViewer.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
- "./scripts/add-key.sh"
script:
- xcodebuild -project CPImageViewer.xcodeproj -target CPImageViewer -sdk iphoneos
-configuration Release OBJROOT="$PWD/build" SYMROOT="$PWD/build" ONLY_ACTIVE_ARCH=NO CODE_SIGN_IDENTITY="$DEVELOPER_NAME" 'CODE_SIGN_RESOURCE_RULES_PATH=$(SDKROOT)/ResourceRules.plist'
after_script:
- "./scripts/remove-key.sh"
after_success:
- "./scripts/sign-and-upload.sh"
env:
global:
- APP_NAME="CPImageViewer"
- 'DEVELOPER_NAME="iPhone Distribution: ZTE Software Changsha Co., Ltd"'
- PROFILE_NAME="CPImageViewer"
- PROVISIONING_PROFILE="$HOME/Library/MobileDevice/Provisioning Profiles/$PROFILE_NAME.mobileprovision"
- TRAVIS_BRANCH="master"
- TRAVIS_BUILD_NUMBER="1.0.0"
- INFO_PLIST="CPImageViewer/Info.plist"
- BUNDLE_DISPLAY_NAME="CPImageViewer"
- secure: dUb6mo0R6/E61c43oyHGDYvvGPBoe7fkXgIsLbSqFh+/v5DF1KWjtdXFn8RdlLjfUZMfwcz8eVYTDYMjg1Sku7b2JNbJg6vWCqhc1et6hwgtFo8vQrli9AlNEel7H74LVX264UGv/B98hBNZxsHE4tw5rjmhye6b4gE300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