Skip to content

Commit 30608d9

Browse files
author
Nicolas
committed
Test travis 7
1 parent 88ca446 commit 30608d9

1 file changed

Lines changed: 30 additions & 9 deletions

File tree

.travis.yml

Lines changed: 30 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,39 @@ sudo: required
33
dist: trusty
44
compiler:
55
- gcc
6-
os:
7-
- linux
6+
7+
env:
8+
- QT_BASE=48
9+
- QT_BASE=51
10+
- QT_BASE=52
11+
- QT_BASE=53
12+
- QT_BASE=54
13+
- QT_BASE=55
14+
- QT_BASE=56
15+
16+
before_install:
17+
- if [ "$QT_BASE" = "48" ]; then sudo add-apt-repository ppa:beineri/opt-qt487-trusty -y; fi
18+
- if [ "$QT_BASE" = "51" ]; then sudo add-apt-repository ppa:beineri/opt-qt511-trusty -y; fi
19+
- if [ "$QT_BASE" = "52" ]; then sudo add-apt-repository ppa:beineri/opt-qt521-trusty -y; fi
20+
- if [ "$QT_BASE" = "53" ]; then sudo add-apt-repository ppa:beineri/opt-qt532-trusty -y; fi
21+
- if [ "$QT_BASE" = "54" ]; then sudo add-apt-repository ppa:beineri/opt-qt542-trusty -y; fi
22+
- if [ "$QT_BASE" = "55" ]; then sudo add-apt-repository ppa:beineri/opt-qt551-trusty -y; fi
23+
- if [ "$QT_BASE" = "56" ]; then sudo add-apt-repository ppa:beineri/opt-qt561-trusty -y; fi
24+
- if [ "$QT_BASE" = "57" ]; then sudo add-apt-repository ppa:beineri/opt-qt57-trusty -y; fi
25+
- sudo apt-get update -qq
826

927
install:
10-
- sudo apt-get update
11-
- sudo add-apt-repository --yes ppa:beineri/opt-qt57-trusty
12-
- sudo apt-get install -qq qt57-meta-full
28+
- if [ "$QT_BASE" = "48" ]; then sudo apt-get install -qq opt-qt4-qmake opt-qt4-dev-tools; source /opt/qt-4.8/bin/qt-4.8-env.sh; fi
29+
- if [ "$QT_BASE" = "51" ]; then sudo apt-get install -qq qt51base; source /opt/qt51/bin/qt51-env.sh; fi
30+
- if [ "$QT_BASE" = "52" ]; then sudo apt-get install -qq qt52base; source /opt/qt52/bin/qt52-env.sh; fi
31+
- if [ "$QT_BASE" = "53" ]; then sudo apt-get install -qq qt53base; source /opt/qt53/bin/qt53-env.sh; fi
32+
- if [ "$QT_BASE" = "54" ]; then sudo apt-get install -qq qt54base; source /opt/qt54/bin/qt54-env.sh; fi
33+
- if [ "$QT_BASE" = "55" ]; then sudo apt-get install -qq qt55base; source /opt/qt55/bin/qt55-env.sh; fi
34+
- if [ "$QT_BASE" = "56" ]; then sudo apt-get install -qq qt56base; source /opt/qt56/bin/qt56-env.sh; fi
35+
- if [ "$QT_BASE" = "57" ]; then sudo apt-get install -qq qt57base; source /opt/qt57/bin/qt57-env.sh; fi
1336

14-
before_script:
15-
- QT_ENV_SCRIPT=$(find /opt -name 'qt*-env.sh')
16-
- source $QT_ENV_SCRIPT
1737

1838
script:
1939
- qmake BatchGUI.pro -r -spec linux-g++ CONFIG+=release
20-
- make
40+
- make
41+
- make check

0 commit comments

Comments
 (0)