-
Notifications
You must be signed in to change notification settings - Fork 130
/
.travis.yml
39 lines (38 loc) · 1.88 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
language: swift
osx_image: xcode13.2
env:
global:
- FRAMEWORK_NAME=AWSAppSync
- BUILD_FOLDER=./build
xcode_workspace: AWSAppSyncClient.xcworkspace
xcode_scheme: AWSAppSync
before_install:
- gem update bundler
- openssl aes-256-cbc -K $encrypted_6919a533707f_key -iv $encrypted_6919a533707f_iv
-in AWSAppSyncIntegrationTests/appsync_test_credentials.json.enc
-out AWSAppSyncIntegrationTests/appsync_test_credentials.json
-d
- brew update
- brew outdated carthage || brew upgrade carthage
before_deploy:
- bash ./build-support/carthage-build.sh build --no-skip-current
- bash ./build-support/carthage-build.sh archive $FRAMEWORK_NAME
- bash ./build-support/build-xcframeworks.sh $FRAMEWORK_NAME
script:
- xcodebuild -quiet -workspace AWSAppSyncClient.xcworkspace -scheme AWSAppSync build test -destination 'platform=iOS Simulator,name=iPhone 11,OS=latest'
deploy:
- provider: releases
api_key:
secure: "grCqWY+k3n5skvqToIQ6oC+5KPZGvrW0/YV5BghmtXA5QC+N2wadEBr/8rzdHnFq4WDDrlpHSMKVe/X0zgvuAjbGdSRWAynKpuN7frHVewzAA0q06v/zW8UMpCT3T1Oaz+Yn4jNH2GHAZy05onbZfXKQbQlgJaHl9LLBUYCqWekc/LNQ1+YxreyGxROTOWoQgPBEqrkcHss2Ol1N2D3i4/eTI2CvAhLpJWOm2TlttZHfW8x1vVcCGMx/URcnqP08lJoHhMG25rTLQRABRycf473HMnR9fzhYGTGvlY0cykuvdFRrOAS1FcFxiNkDrs5m3+VvvDzZwL7+iExd9Uz+TZJehhMUb5uXcxNXkf4dIReFaDkN/Jj6uQQYhZJPi5hJjciTWqaGsdZ2dJtJpx1oVGI7pm2OwhVqYeh+AH8tmshmZK4swMnSvo+cZXvc9Pn59GdrUkt1XhfQmRLeCWxZgpG7jEShpBg7J7ky3iQj8xVfcnsA9xks+WQ4qt9DXdhS1Xou6UItDFBW8VB7zNU4SobKCMJDF4ZHWLPsR5jmU8jolSE4gO9+vNmhcAEbaW8gCsFOBsoQUcZwuxuSBwHDp+TDmKRtlTXhHVeOwR1H+Cij29zUiK1+Pr8NFv6448Kn0dIlgGkhPFq7c+5lZQtT9C2aelg0hwyPinCYVw5XpHY="
file:
- "$FRAMEWORK_NAME.framework.zip"
- "$BUILD_FOLDER/$FRAMEWORK_NAME.xcframework.zip"
skip_cleanup: true
on:
repo: awslabs/aws-mobile-appsync-sdk-ios
tags: true
- provider: script
script: bash ./build-support/cocoapods_release.sh
on:
repo: awslabs/aws-mobile-appsync-sdk-ios
tags: true