Travis CI. Migrating from legacy to container-based infrastructure.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-11-28 21:32:13 +02:00
parent 7611940c40
commit f0dee0a754

View file

@ -7,18 +7,34 @@ compiler:
- gcc
- clang
before_install:
# g++4.8.1
- if [ "$CXX" == "g++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
- sudo add-apt-repository ppa:ubuntu-sdk-team/ppa -y
- sudo apt-get update -qq
- sudo apt-get install -y qtbase5-dev libqt5svg5-dev ccache qt5-default qttools5-dev-tools libqt5xmlpatterns5-dev
- sudo apt-get install -y libqt5core5 libqt5gui5 libqt5printsupport5 libqt5svg5 libqt5widgets5 libqt5xml5 libqt5xmlpatterns5 xpdf
sudo: false
install:
# g++4.8.1
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- ubuntu-sdk-team-ppa
packages:
- qtbase5-dev
- libqt5svg5-dev
- qt5-default
- qttools5-dev-tools
- libqt5xmlpatterns5-dev
- libqt5core5
- libqt5gui5
- libqt5printsupport5
- libqt5svg5
- libqt5widgets5
- libqt5xml5
- libqt5xmlpatterns5
- xpdf
- gcc-4.8
- g++-4.8
- clang
before_script:
# QTestLib require GUI support for some tests