sneedmc/.travis.yml

39 lines
851 B
YAML
Raw Normal View History

# General set up
2014-03-23 21:29:27 +00:00
language: cpp
cache: apt
matrix:
include:
- os: linux
dist: precise
sudo: required
compiler: gcc
env: TRAVIS_DIST=precise QT_VERSION=5.4.2
- os: linux
dist: precise
sudo: required
compiler: gcc
env: TRAVIS_DIST=precise QT_VERSION=5.6.2
- os: linux
dist: trusty
sudo: required
compiler: gcc
env: TRAVIS_DIST=trusty QT_VERSION=5.4.2
- os: linux
dist: trusty
sudo: required
compiler: gcc
env: TRAVIS_DIST=trusty QT_VERSION=5.6.2
2015-08-20 10:16:36 +00:00
# Install dependencies
2014-03-23 21:29:27 +00:00
install:
- source travis/prepare.sh # installs qt and cmake. need to source because some env vars are set from there
# Actual work
2014-03-23 21:29:27 +00:00
before_script:
- mkdir build
- cd build
- cmake -DCMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH ..
2014-03-23 21:29:27 +00:00
script:
- make -j4 && make test ARGS="-V"