forked from blueprint-freespeech/ricochet-refresh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
102 lines (101 loc) · 3.31 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
language: cpp
dist: bionic
sudo: required
git:
submodules: false
env:
global:
- HEADLESS=True
- SKIP_CODESIGN=1
- CONFIG=Release
matrix:
include:
- os: osx
env:
- BUILD_TARGET=osx
- USE_LOCAL_QT=YES
- USE_LOCAL_PROTOBUF=YES
- os: linux
env:
- BUILD_TARGET=linux-static
# - USE_LOCAL_QT=YES
addons:
homebrew:
packages:
- qt5
- protobuf
- pkg-config
update: true
apt:
packages:
- automake
- autotools-dev
- build-essential
- ca-certificates
- curl
- git
- libasound2-dev
- libevent-dev
- libfontconfig1
- libfontconfig1-dev
- libfreetype6
- libfreetype6-dev
- libglu1-mesa-dev
- libprotobuf-dev
- libprotobuf-dev
- libqt5gui5
- libqt5opengl5
- libqt5opengl5-dev
- libqt5svg5
- libssl-dev
- libtool
- libx11-xcb-dev
- '^libxcb.*'
- '^libxkb.*'
- libxrender-dev
- libxrender1
- pkg-config
- protobuf-compiler
- python
- qt5-default
- qt5-qmake
- qtbase5-dev
- qtdeclarative5-dev
- qttools5-dev-tools
- tor
- unzip
- vim
- xkb-data
- xvfb
- zip
install:
- (cd buildscripts && "${BUILD_TARGET}/build-deps.sh")
script:
- (cd buildscripts && "${BUILD_TARGET}/test.sh")
- (cd buildscripts && "${BUILD_TARGET}/build.sh")
- export BUILD_NAME=$(cd buildscripts && "./get_build_name.sh")
deploy:
- provider: releases
name: DRAFT ${BUILD_NAME}
api_key:
secure: lIHMpIYSRcQAzFnbKeucjndUCzCVH78CZ7JpgB7BpUSO/F61ngdW9oWy8oJWdMb1JU0efSRRYNXbX4lTVBOS/iueqfoL6jNojT7t8yVgM31ZfnzJipqdtUHBDHHUHDEQez7MXudUpa9Zo6yCoHF8IT30NiKErbi7jG5YIEaxYzMR2ICWSkechFbGwe6nFgVW8iceNBW8GyyeBpkII7arTpJbZZlrcWDh+Ej5r6fHivV7oifuhSZ6VUYT3dB0tOqcHPU8OtnFpq1sQOtNwr+KNBEfBGLd+gyCXTdjmUebBXnSI6nR3hKEEQR87znlqFrzYKq2OwXqtYkTtc7MpSbmzH9bfxqC4WUa/8QL77cgLJWzhAaOe6+nqeadEJFEFB31KLOlt2SbsMyBy2xWi+NS43VOVz6FecbhgODq7QpXBN5kvN6kjc5kc7xY8joQW5k939/kN5P4DfpePd//bvmUzCVdYaak2pPKLzsyY5dXGqk7z3lGVE3h5Q+8EOnbsEvSrbhNF+Svm/FAEbjUMnaAx20o66MxPxvbb+I0iNT72+jqJypZLv5mjkw2ItMJR1G5zD95qxgZakzJ3liSSpGROBzpLSGQb8GQpOktY9UzocIM0pqyawg2Hfn6y1D9Ptp1SfOZ8rFJvqI+Mxv3FFp+lD3tOV6MvFj1+EJ8PiHyIQc=
skip_cleanup: true
file_glob: true
file:
- 'buildscripts/output/Ricochet-Refresh-*.dmg'
- 'buildscripts/output/ricochet-refresh-*-static.tar.bz2'
overwrite: true
draft: true
- provider: releases
name: PRERELEASE ${BUILD_NAME}
api_key:
secure: lIHMpIYSRcQAzFnbKeucjndUCzCVH78CZ7JpgB7BpUSO/F61ngdW9oWy8oJWdMb1JU0efSRRYNXbX4lTVBOS/iueqfoL6jNojT7t8yVgM31ZfnzJipqdtUHBDHHUHDEQez7MXudUpa9Zo6yCoHF8IT30NiKErbi7jG5YIEaxYzMR2ICWSkechFbGwe6nFgVW8iceNBW8GyyeBpkII7arTpJbZZlrcWDh+Ej5r6fHivV7oifuhSZ6VUYT3dB0tOqcHPU8OtnFpq1sQOtNwr+KNBEfBGLd+gyCXTdjmUebBXnSI6nR3hKEEQR87znlqFrzYKq2OwXqtYkTtc7MpSbmzH9bfxqC4WUa/8QL77cgLJWzhAaOe6+nqeadEJFEFB31KLOlt2SbsMyBy2xWi+NS43VOVz6FecbhgODq7QpXBN5kvN6kjc5kc7xY8joQW5k939/kN5P4DfpePd//bvmUzCVdYaak2pPKLzsyY5dXGqk7z3lGVE3h5Q+8EOnbsEvSrbhNF+Svm/FAEbjUMnaAx20o66MxPxvbb+I0iNT72+jqJypZLv5mjkw2ItMJR1G5zD95qxgZakzJ3liSSpGROBzpLSGQb8GQpOktY9UzocIM0pqyawg2Hfn6y1D9Ptp1SfOZ8rFJvqI+Mxv3FFp+lD3tOV6MvFj1+EJ8PiHyIQc=
skip_cleanup: true
file_glob: true
file:
- 'buildscripts/output/Ricochet-Refresh-*.dmg'
- 'buildscripts/output/ricochet-refresh-*-static.tar.bz2'
on:
tags: true
overwrite: true
prerelease: true