forked from ksvc/KSYLive_iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (37 loc) · 1.85 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
language: objective-c
<<<<<<< HEAD
osx_image: xcode9
=======
osx_image: xcode8
>>>>>>> 453ca092e88a247ed27e927ae695d4fb5dd169e8
xcode_workspace: demo/KSYLiveDemo.xcworkspace
xcode_scheme: KSYLiveDemo
script:
- echo "release to framework_${TRAVIS_TAG}.zip - $TRAVIS_TAG"
- mkdir -p framework/static
- wget https://github.com/ksvc/KSYLive_iOS/releases/download/v2.0.0/staticGPUImage.zip
- unzip -q staticGPUImage.zip -d framework/static/
- wget https://github.com/ksvc/KSYLive_iOS/releases/download/v2.0.0/Bugly.zip
- unzip -q Bugly.zip -d framework/
- cd releaseFramework
- "./release-libKSYLive.sh libksygpulive lite"
- cd ../
- zip -q --symlinks -r framework_${TRAVIS_TAG}.zip framework/*
- rm -rf framework/static/*
- wget https://github.com/ksvc/KSYLive_iOS/releases/download/v2.0.0/dynamicGPUImage.zip
- unzip -q dynamicGPUImage.zip -d framework/dynamic/
- cd releaseFramework
- "./release-libKSYLive.sh libksygpulive lite dy"
- cd ../
- zip -q --symlinks -r framework_dy_${TRAVIS_TAG}.zip framework/*
deploy:
provider: releases
api_key:
secure: XQG09eVzKEnzsrRdqLZhoVz9iASDf1NvRz1XFR6ad47y6JoPIiCtUOqaptf4bE7lJIdl7KqLVAAfAHDV0RHmLZ3BpPLHd/kBcGW4UW3h+GnZOh0z2ijGTn1BkxztENeSq6bPpcDR0PrBq8uc5h1RwwyQCBZPhZHbxtVcna5httOEItjOrbywv8qtIrqNRItDWHhxrOa9oc3LKeLWXnXYuyIwryIL5tq8BVFFja0raUaDfSSq2wf1WwOM5qq5Pr+0TjKE/JA7BOFAA+X2caLE5v9GW1Q9sN/WDxsyCJ/GoJ6gr05m055NG9bPfqctFlPUUO+JIw3wiJKd/Pn5WJ0v8BZ7u8eP8f2bzZO0Yc8RBfh2RaigWHg5WnVEf5SKD9fNVyvfyJ94e4oUjpRqk+0dfhOfXoSmuObMB8yRRNQjIfCJyX8CVAfRKXK49fGHS8t8AQOB6Y8eu7Er8g5/9LHJQci+rhfK+8vl5YNEUGKWqB6yOnx89cllAblXyYPuctQfRkL4DgTGjlkuZhy1eRJPgzIEJLr+vrrRx0b4Up8/EvZY4LvF/bwU9QuQLTygE8iKbg6qfn1L8wdIelD0JgORXGsXCIVvuZFah9S6mjbIquLj/D7GP06MWtTjUGVdn9NaLY7ywgkXxznzWs6V2HvYQRFMnOqzehoGMXAcqF7NRRc=
file:
- framework_${TRAVIS_TAG}.zip
- framework_dy_${TRAVIS_TAG}.zip
skip_cleanup: true
on:
repo: ksvc/KSYLive_iOS
tags: true