24 lines
625 B
YAML
24 lines
625 B
YAML
language: cpp
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
cache: apt
|
|
before_install:
|
|
- sudo apt-add-repository -y ppa:beineri/opt-qt532
|
|
- sudo apt-add-repository -y ppa:kalakris/cmake
|
|
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
|
- sudo apt-get update -qq
|
|
install:
|
|
- sudo apt-get install -y -qq cmake qt53base qt53svg qt53tools qt53x11extras qt53webkit
|
|
- sudo apt-get install -y -qq g++-4.8
|
|
- 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/qt53/lib/cmake ..
|
|
script:
|
|
- make -j4
|
|
- make test ARGS="-V"
|
|
notifications:
|
|
email: false
|