forked from Quick-Box/quickevent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (22 loc) · 881 Bytes
/
.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
language: cpp
compiler: gcc
before_install:
# We need this line to have g++4.8 available in apt
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa
- sudo apt-add-repository -y ppa:beineri/opt-qt591-trusty
- sudo apt-get update -qq
##- sudo apt-get install -qq g++-4.9
#- sudo apt-get install qtbase5-dev qtdeclarative5-dev libsqlite3-dev
#- sudo apt-get install qt5-default qttools5-dev-tools
- sudo apt-get install libsqlite3-dev libfuse-dev
- sudo apt-get install qt-latest
install:
# We want to compile with g++ 4.8 when rather than the default g++
##- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 90
##- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 90
script:
#- g++ --version
- source /opt/qt59/bin/qt59-env.sh
- qmake -r
- make