forked from spotify/SPTPersistentCache
/
.travis.yml
34 lines (29 loc) · 879 Bytes
/
.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
cache:
- bundler
sudo: false
branches:
only:
- master
- /^release-.*$/
osx_image: xcode9.2
language: objective-c
bundler_args: --without documentation --without development --deployment --jobs=3 --retry=3
script:
- bundle exec rake ci:build_and_test
# This is a workaround for a Travis-CI bug where the log might get cut-off.
# See the [Travis-CI issue #4716](https://github.com/travis-ci/travis-ci/issues/4716).
- sleep 3
deploy:
provider: releases
api_key:
secure: ANvlZh4vgRuTeUE9IenqsiKU0iqHVVJGDmqjvqmg0PMcN6QgR7leAAf45cQvPwKeJqS7DeXHFLq7gs0c7gfofBluFpt/UdCcHb1L7aXG+14uPVp6f5ggK5ZUxXwWfkW4s1xtAvDvQmGo7qB9Q/EaUSHJvH2vOBPlaaFc+h6C7M4=
file:
SPTPersistentCache.framework.zip
on:
repo: spotify/SPTPersistentCache
tags: true
script: bundle exec rake ci:package
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8