forked from Vita3K/Vita3K
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (46 loc) · 2.73 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
language: cpp
cache: ccache
matrix:
include:
- os: osx
osx_image: xcode9.3
install:
- HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache
- export PATH="/usr/local/opt/ccache/libexec:$PATH"
before_script:
- export CMAKE=cmake
before_deploy:
- git tag "$TRAVIS_BRANCH-v$TRAVIS_BUILD_NUMBER"
- cd ${TRAVIS_BUILD_DIR}/build/bin
- zip -r "$TRAVIS_BRANCH-$TRAVIS_OS_NAME-v$TRAVIS_BUILD_NUMBER.zip" Vita3K.app
deploy:
provider: releases
api_key:
secure: pFNcUXEfM70zz5VvaMaXR05pdXJOFVQg3mEZLDyrQmaHXy7joGCQE+ZkGYsExc0dcpD+0nT0XpLT9rEOip5iYdhy3u7ro3mnZT1an7wNLqgTqxRMSp0k1aNhK4h9v64rdGEcvIETs/YgIMtv2hN7C7kXmcmvbMi3OLA4/IQKutjX8/PwT+f7CikWX13RgUva0S5OWIBE22LDA25YwNrE2My/M5mQNN4sJIvoRRYxeNS/7NQejK3/Y3pr4SOVWONrzMOnQ7R3SHi4tAnqLWtpC6qmbd2tZFtvrX/pgVEr12lbCO6Mr5kyxD5c6n7+pr8qPJUOpfU6dd8yVDnzZoB4V9fnmC7q5FF4/WYIvOoq1FOz7UgMd+AmlDduhaMeX49EIFHw/vSZfnzpP+vPzRirrvp/XnppFhXhNtuiCjwxgLS6XNCi3bd67x9b2QCgfQ9HWqirGZ+COYQNjWOiy1rOM2dGekviEvPVkkp6si3Dj07gFToepQQdvRUzn3cZZUvnI8TgPc7KHhl9qbDAkDUl7CB3w5bE/sqEth1OjlUA6LsUyDcBLkEfkPZ3IsJy33mzchDlxoq9cm0Q6z2k8Eha2DxDa1og2dcGMXD5RoFOC0PJ/Ypb8zOxxZwZUF4sfacpuO+K+2aUllAwJyE3wANnroQvYvt0CFJJu21xRztm2Vs=
file: "$TRAVIS_BRANCH-$TRAVIS_OS_NAME-v$TRAVIS_BUILD_NUMBER.zip"
skip_cleanup: true
on:
branch: master
repo: Vita3K/Vita3K
script: bash $TRAVIS_BUILD_DIR/.travis/macos/build.sh
- os: linux
sudo: required
services: docker
script: bash $TRAVIS_BUILD_DIR/.travis/linux/build.sh
before_deploy:
- git tag "$TRAVIS_BRANCH-v$TRAVIS_BUILD_NUMBER"
- sudo chown -R travis:travis ${TRAVIS_BUILD_DIR}
- cd ${TRAVIS_BUILD_DIR}/build/bin
- zip -r "$TRAVIS_BRANCH-$TRAVIS_OS_NAME-v$TRAVIS_BUILD_NUMBER.zip" .
deploy:
provider: releases
api_key:
secure: pFNcUXEfM70zz5VvaMaXR05pdXJOFVQg3mEZLDyrQmaHXy7joGCQE+ZkGYsExc0dcpD+0nT0XpLT9rEOip5iYdhy3u7ro3mnZT1an7wNLqgTqxRMSp0k1aNhK4h9v64rdGEcvIETs/YgIMtv2hN7C7kXmcmvbMi3OLA4/IQKutjX8/PwT+f7CikWX13RgUva0S5OWIBE22LDA25YwNrE2My/M5mQNN4sJIvoRRYxeNS/7NQejK3/Y3pr4SOVWONrzMOnQ7R3SHi4tAnqLWtpC6qmbd2tZFtvrX/pgVEr12lbCO6Mr5kyxD5c6n7+pr8qPJUOpfU6dd8yVDnzZoB4V9fnmC7q5FF4/WYIvOoq1FOz7UgMd+AmlDduhaMeX49EIFHw/vSZfnzpP+vPzRirrvp/XnppFhXhNtuiCjwxgLS6XNCi3bd67x9b2QCgfQ9HWqirGZ+COYQNjWOiy1rOM2dGekviEvPVkkp6si3Dj07gFToepQQdvRUzn3cZZUvnI8TgPc7KHhl9qbDAkDUl7CB3w5bE/sqEth1OjlUA6LsUyDcBLkEfkPZ3IsJy33mzchDlxoq9cm0Q6z2k8Eha2DxDa1og2dcGMXD5RoFOC0PJ/Ypb8zOxxZwZUF4sfacpuO+K+2aUllAwJyE3wANnroQvYvt0CFJJu21xRztm2Vs=
file: "$TRAVIS_BRANCH-$TRAVIS_OS_NAME-v$TRAVIS_BUILD_NUMBER.zip"
skip_cleanup: true
on:
branch: master
repo: Vita3K/Vita3K
branches:
except:
- "/master-v[0-9]/"