-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
executable file
·64 lines (54 loc) · 2.04 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
language: cpp
compiler:
- gcc
os:
- linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
#ppa:chris-lea/redis-server
packages:
#- redis-tools
#- redis-server
- gcc-7
- g++-7
sudo: required
dist: xenial
env:
- QT_BASE=51
#- QT_BASE=52
#- QT_BASE=53
#- QT_BASE=54
#- QT_BASE=55
#- QT_BASE=56
before_install:
- if [ "$QT_BASE" = "51" ]; then sudo add-apt-repository ppa:beineri/opt-qt-5.12.0-xenial -y; fi
#- if [ "$QT_BASE" = "52" ]; then sudo add-apt-repository ppa:beineri/opt-qt-5.21.0-xenial -y; fi
#- if [ "$QT_BASE" = "53" ]; then sudo add-apt-repository ppa:beineri/opt-qt-5.32.0-xenial -y; fi
#- if [ "$QT_BASE" = "54" ]; then sudo add-apt-repository ppa:beineri/opt-qt-5.42.0-xenial -y; fi
#- if [ "$QT_BASE" = "55" ]; then sudo add-apt-repository ppa:beineri/opt-qt-5.51.0-xenial -y; fi
#- if [ "$QT_BASE" = "56" ]; then sudo add-apt-repository ppa:beineri/opt-qt56-xenial -y; fi
- sudo apt-get update -qq
- sudo apt-get install qtbase5-dev qtdeclarative5-dev libqt5webkit5-dev libsqlite3-dev
- sudo apt-get install qt5-default qttools5-dev-tools
install:
- if [ "$QT_BASE" = "51" ]; then sudo apt-get install -qq qt512base; source /opt/qt512/bin/qt512-env.sh; fi
#- if [ "$QT_BASE" = "52" ]; then sudo apt-get install -qq qt512base; source /opt/qt521/bin/qt521-env.sh; fi
#- if [ "$QT_BASE" = "53" ]; then sudo apt-get install -qq qt53base; source /opt/qt532/bin/qt532-env.sh; fi
#- if [ "$QT_BASE" = "54" ]; then sudo apt-get install -qq qt54base; source /opt/qt542/bin/qt542-env.sh; fi
#- if [ "$QT_BASE" = "55" ]; then sudo apt-get install -qq qt55base; source /opt/qt551/bin/qt551-env.sh; fi
#- if [ "$QT_BASE" = "56" ]; then sudo apt-get install -qq qt56base; source /opt/qt56/bin/qt560-env.sh; fi
script:
- qmake -r
- make
# Check that everything built correctly:
- make check
# Now lets execute the app to see that it runs ok:
# pwd
# ./UserManager
branches:
only:
- master
notifications:
email: false