forked from parse-community/Parse-SDK-iOS-OSX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
51 lines (49 loc) · 1.41 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
50
51
language: objective-c
os: osx
osx_image: xcode9.2
branches:
only:
- master
- /^v?[0-9]+\.[0-9]+\.[0-9]+(-.*)?$/
git:
submodules: false
before_install:
- git submodule update --init --recursive
jobs:
include:
- stage: release
env: Deployment
install: bundle install
script:
- xcrun simctl create "Apple TV 1080p" com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p com.apple.CoreSimulator.SimRuntime.tvOS-11-2
- bundle exec rake test:deployment
- ./Scripts/jazzy.sh
- xcrun simctl create "Apple TV 1080p" com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p com.apple.CoreSimulator.SimRuntime.tvOS-11-0
- bundle exec rake package:release
deploy:
- provider: releases
api_key:
secure: $GITHUB_TOKEN # Set in travis-ci.org dashboard
file_glob: true
file: build/release/*
skip_cleanup: true
on:
tags: true
all_branches: true
- provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
local_dir: docs/
on:
all_branches: true
- stage: release
env: Cocoapods
install: bundle install
script: skip
deploy:
provider: script
skip_cleanup: true
script: ./Scripts/publish.sh
on:
tags: true
all_branches: true