Permalink
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (24 sloc) 668 Bytes
language: cpp
sudo: required
matrix:
include:
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
env:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -q
- sudo apt-get install build-essential libboost-all-dev xsltproc gcc-7 autorevision
- eval "${MATRIX_EVAL}"
compiler:
- gcc
jobs:
include:
- script: make -C src && make -C src/examples && make -C src/test && ./src/test/test
- script: mkdir build && cd build && cmake .. && make -j4 && ctest -V