forked from awslabs/aws-mobile-appsync-sdk-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (34 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
32
33
34
language: swift
osx_image: xcode12
env:
global:
- FRAMEWORK_NAME=AWSAppSync
xcode_workspace: AWSAppSyncClient.xcworkspace
xcode_scheme: AWSAppSync
before_install:
- 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
- gem install cocoapods -v '1.9.3'
before_deploy:
- bash ./build-support/carthage-build.sh build --no-skip-current
- bash ./build-support/carthage-build.sh archive $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: "miucQr//xNRGJ1TavJgd2muA8hokT+WQ+1/+WOvm1aQ2XRvB1wHKK2vJjPkX+soLUql4mPVkGYlGqgvF9tjCL9nfK/XGaf8WKNvWR4/aJOyPzeywEe6O66ca28Lr5kEKTsn9qICkPcXUxGP22WjXAyZAe3RI5b7/3ZHLdWQS8nmtdZARpLWcIXQeIRNQgLH9mnljVPSIPjM/5j820KUJWrtBAgK0IuslVrn3Tm1N1BL11JhOBhu0hgHFLVgliZTWiwLL1WvkSNwaPIW/Sih6aWe9aVePtS9o4okr74ZfPhGAWWrnZNQZaeibb6D2TvXSIVYF0vsoJowNZnEnXOYiaFkv6wjYRF2PH4yCyy1A0zFo3ijBtjC1U8MBpz9x8QuBEoLYy1oTYz7LLLV4rRX2+4NdebeLkJL4Z1navVgzs+PKnsUYVZaNwRAzfc5UXbufucqEMfrAAziff0QT0GXKcmkOP/3B+0f8BZU6IlObbr/9KknFmVCFSiSsNsXkxNUg+p+23YEvgky4oI+P743wG9pZfhCc1JqTHDsjVxcONt2vseucLgPdNvgkfQTkuKgCVmkA94LgBelb0ueOG++J+tC2iR+/AoDWmNGTlDOMRixB4JTCLgphnjG2rciO1O6YIUnzcG59no16ia3mWmttt1ZyYFHb6vqYvHGU6Hen6kY="
file: "$FRAMEWORK_NAME.framework.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