2014-03-24 02:59:27 +05:30
|
|
|
language: cpp
|
|
|
|
compiler:
|
|
|
|
- gcc
|
2014-04-12 21:41:30 +05:30
|
|
|
- clang
|
2014-03-24 02:59:27 +05:30
|
|
|
cache: apt
|
|
|
|
before_install:
|
|
|
|
- sudo apt-add-repository -y ppa:beineri/opt-qt521
|
|
|
|
- sudo apt-add-repository -y ppa:kalakris/cmake
|
|
|
|
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
install:
|
2014-09-07 00:31:23 +05:30
|
|
|
- sudo apt-get install -y -qq cmake qt52base qt52svg qt52tools qt52x11extras qt52webkit
|
2014-04-12 21:41:30 +05:30
|
|
|
- sudo apt-get install -y -qq g++-4.8
|
2014-03-24 02:59:27 +05:30
|
|
|
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
|
|
|
|
before_script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- cmake -DCMAKE_PREFIX_PATH=/opt/qt52/lib/cmake ..
|
|
|
|
script:
|
|
|
|
- make -j4
|
2015-01-31 23:51:47 +05:30
|
|
|
- make test ARGS="-V"
|
2014-03-24 02:59:27 +05:30
|
|
|
notifications:
|
|
|
|
email: false
|