forked from MercerWeiss/SilentDragon
-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
34 lines (31 loc) · 1 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
dist: trusty
matrix:
include:
# works on Precise and Trusty
- os: linux
compiler: clang
addons:
apt:
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.7']
packages: ['clang-3.7', 'g++-8']
before_install:
# TODO: I usually make builds with 5.14 - Duke
- sudo add-apt-repository ppa:beineri/opt-qt591-trusty -y
- sudo apt-get update -qq
- sudo apt-get install qt59base qt59websockets
- source /opt/qt59/bin/qt59-env.sh
- chmod +x res/libsodium/buildlibsodium.sh
script:
- qmake -v
- clang++ -v
- g++-8 -v
# Linguist test that translation source files can be compiled
# correctly and will hopefully catch syntax errors earlier
# We want the build to fail if we can't compile translations.
- ./build.sh linguist
- qmake silentdragon.pro CONFIG+=release -spec linux-clang
- make CC=clang CXX=clang++ -j2
- make distclean
- qmake silentdragon.pro CONFIG+=release -spec linux-g++
- res/libsodium/buildlibsodium.sh
- make CC=gcc-8 CXX=g++-8 -j2