forked from vaibhavpandeyvpz/apkstudio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (43 loc) · 1.67 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
language: cpp
matrix:
include:
- os: linux
dist: xenial
sudo: required
addons:
apt:
packages:
- libgl1-mesa-dev
- os: osx
osx_image: xcode9
before_install: |
if [[ $TRAVIS_OS_NAME == "linux" ]]; then
sudo add-apt-repository ppa:beineri/opt-qt-5.12.3-xenial -y
sudo apt-get update -q
fi
if [[ $TRAVIS_OS_NAME == "osx" ]]; then
brew update
fi
install: |
if [[ $TRAVIS_OS_NAME == "linux" ]]; then
sudo apt install qt512base -y
source /opt/qt512/bin/qt512-env.sh
fi
if [[ $TRAVIS_OS_NAME == "osx" ]]; then
brew install qt
brew link --force qt
fi
script:
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then chmod +x $TRAVIS_BUILD_DIR/build/linux.sh;
$TRAVIS_BUILD_DIR/build/linux.sh; fi
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then chmod +x $TRAVIS_BUILD_DIR/build/osx.sh;
$TRAVIS_BUILD_DIR/build/osx.sh; fi
deploy:
provider: releases
api_key:
secure: RnsYH8Oj0pTHjGR3uMe76eUQpVXMwgFzqv4fSBeDAVrvmkwjdlPkxfrOQs451wuImIxVUJ0d+WHTEMZusYPmer9Pud7GAMiLpRh+GL8pkFzzSF5U7DuOjApnaSS2JYWOB0cW37pGksLEvUIIY5TiKp3FqS4IfUYcIDn/5OEZnKsfUFhh+OlzyIblHnDhGxTA/2v02QXWn3gDKvCP8RCOTNYDBQkmNqlPFlWALSzoR6Squ7ChBJ9io8XeHLVQvaQFrlY/5zzMWrVLJl7NxHzgZEs21dFrFQvRkE7T2iuYizYzhtZ08RsIZBWdp0GUhG14oAMV9qIpp7AhTn8FVDN6T3kKWCuacXTXvSLaK2Hv7QXjWjX4NfMF89D0Mc1DdVhp/X2emTLJ4ppJ2PjsVZ/IF69oIY2IV03A4EW+iXy7UGcbDOURoCxEfRtq7cfR/xG58XvY7Ak1Zf1Z3vXb7Hok4iOSbasGNOT7DSsYfFYwbxAKRIPNiTIpGemt48iRmN2bCkr/UuqQLzyxEMjSu5qFVqEvupBei66tReBscAXQIllnZSq7XP9YSYml5It9EUgkqfvr7W212fowzZQspzVjsfgT871DyoPm4Q0eNeNGazaHzTdlyofWKMjyNw5ssE+cVVvmZKvj1JjtmphVdffK1b9sPS2ggyrRJ94GYkMTpcs=
file_glob: true
file: deploy/*
skip_cleanup: true
on:
repo: gouyelliot/apkstudio