2014-03-23 21:29:27 +00:00
|
|
|
language: cpp
|
|
|
|
compiler:
|
|
|
|
- gcc
|
2014-04-12 16:11:30 +00:00
|
|
|
- clang
|
2014-03-23 21:29:27 +00:00
|
|
|
cache: apt
|
|
|
|
before_install:
|
2015-05-16 21:19:33 +00:00
|
|
|
- sudo apt-add-repository -y ppa:beineri/opt-qt532
|
2014-03-23 21:29:27 +00:00
|
|
|
- sudo apt-add-repository -y ppa:kalakris/cmake
|
|
|
|
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
install:
|
2015-05-16 21:19:33 +00:00
|
|
|
- sudo apt-get install -y -qq cmake qt53base qt53svg qt53tools qt53x11extras qt53webkit
|
2014-04-12 16:11:30 +00:00
|
|
|
- sudo apt-get install -y -qq g++-4.8
|
2014-03-23 21:29:27 +00:00
|
|
|
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
|
|
|
|
before_script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2015-05-16 21:19:33 +00:00
|
|
|
- cmake -DCMAKE_PREFIX_PATH=/opt/qt53/lib/cmake ..
|
2014-03-23 21:29:27 +00:00
|
|
|
script:
|
2015-05-28 17:38:29 +00:00
|
|
|
- make -j4 && make test ARGS="-V"
|
2014-03-23 21:29:27 +00:00
|
|
|
notifications:
|
|
|
|
email: false
|