dotherside/.travis.yml

33 lines
762 B
YAML

language: cpp
compiler: gcc
sudo: required
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo add-apt-repository ppa:beineri/opt-qt55 -y
- sudo apt-get update
install:
- echo `pwd`
- export PROJECT_DIR=`pwd`
- echo "Installing Qt and GCC"
- sudo apt-get -y install qt-latest gcc-5 g++-5
- echo "Moving to /tmp"
- cd /tmp
- echo "Installing CMake"
- wget --no-check-certificate https://cmake.org/files/v3.3/cmake-3.3.2-Linux-x86_64.tar.gz
- tar xf cmake-3.3.2-Linux-x86_64.tar.gz
- export CMAKE_EXECUTABLE=/tmp/cmake-3.3.2-Linux-x86_64/bin/cmake
- cd -
before_script:
- export CXX=g++-5
- export CC=gcc-5
- source /opt/qt55/bin/qt55-env.sh
script:
- mkdir build
- cd build
- $CMAKE_EXECUTABLE ..
- make
- ./test/TestDynamicQObject