forked from ian4hu/Clipy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
49 lines (45 loc) · 1.71 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
40
41
42
43
44
45
46
47
48
49
os: osx
osx_image: xcode11
language: objective-c
xcode_workspace: Clipy.xcworkspace
xcode_scheme: Clipy
xcode_destination: platform=macOS
git:
depth: 5
cache:
bundler: true
## cocoapods: true
# directories:
# - "${HOME}/.cocoapods/repos/"
#install:
## - gem install -N bundler --pre
# - bundle install --jobs=3 --retry=3 --deployment
## - pod install --deployment
jobs:
include:
- stage: test
name: "Units Tests"
if: branch IS PRESENT
script: bundle exec fastlane mac test
- stage: deploy
name: "Deploy to Github"
script: bundle exec fastlane mac release
if: tag IS PRESENT
before_deploy:
- bash .travis/prepare_delta.sh
- bash .travis/sparkle_keys.sh
deploy:
provider: releases
api_key:
secure: mM7L9bTcyEtSZSB1VPaQftxbkFWmqK8CHA4515b/xyiNN5yVNjqZYd/ZJvKYdqXCh+JHAXFyyaCE0cgUAHS7EobxW8/TWY9mD66H/QPYwlJEGPHlQwR+C1qDA9C7hsmkyNcjunimhhokHkAaDQend1m2Uh83jg4e6Kk5ZW+80MrsnvEY8gYGbm8ZVR/E8UukPvsVZWy7PvK3MO0772hXeYAlYbi6EFOhBh2qzK1T3/oEw8pqgxl0pkeNIJCyonm/jsClyaGucpGRJZSFXPesFbTF2OKMLOip2ZS/UHzZe8Yh4oycaj9m+YaUDrRqSBlRcjyKKLDVjFT06hJ50BFeAH22IDwT9YmjucF47KVEiTpyRGk6MDDOPckYigXh84RqhKZJVu0ElYoDdWwl9CncD5qKzM0r8KqQX3CKOkQcbIhJGH2KKTPHiiDRRHJDNEWKLLxtzjSrialUpbGy32VxIbBMzd74WVG2+5ARAoQuxu+Y3dh7X2eGP2gc//woSEbmJWrq3hQjNcswZtZeFyskEIbfKmVXjr9jotmJ8JcVX9ZIrN/dwG2LJu0ZIffwRigujCTM5D0ImbF2q5WPmjF/8xo28tfBfR5n7qNioKiO9GiBc+Bm3sStnXI6xVc41Vv6+PLwO1L+r0Skizj6D0SadIu3UBITvsX2OLRs+xAns7E=
file_glob: true
file:
- Clipy.app.zip
- appcast.xml
- .tmp/*.delta
overwrite: true
skip_cleanup: true
on:
repo: ian4hu/Clipy
tags: true
osx_image: xcode11.2