-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
34 lines (34 loc) · 1.03 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
sudo: required
dist: bionic
language:
- cpp
cache:
- ccache
compiler:
- g++
before_install:
- sudo apt-get update
- sudo apt-get upgrade
install:
- sudo apt-get install -y libpulse-dev libglu1-mesa-dev || travis_terminate 1
- sudo apt-get install qt512base qt512svg qt512charts-no-lgpl qt512xmlpatterns qt512multimedia || travis_terminate 1
- source /opt/qt512/bin/qt512-env.sh || travis_terminate 1
#- sudo apt-get install clang-format-3.8 || travis_terminate 1
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'ppa:beineri/opt-qt-5.12.3-bionic'
packages:
- gcc-6
- g++-6
script:
#- bash ./scripts/ci-test-format.sh || travis_terminate 1
- sudo ln -s /usr/bin/gcc-6 /usr/local/bin/gcc
- sudo ln -s /usr/bin/g++-6 /usr/local/bin/g++
- export CC=/usr/bin/gcc-6
- export CXX=/usr/bin/g++-6
- cd ./steno/ || travis_terminate 1
- qmake steno.pro -spec linux-g++ CONFIG+=qtquickcompiler || travis_terminate 1
- make clean || travis_terminate 1
- make || travis_terminate 1