Travis config that builds C++ tools

Signed-off-by: Rick Altherr <kc8apf@kc8apf.net>
This commit is contained in:
Rick Altherr 2018-01-05 15:43:55 -08:00
parent 2f062d1da3
commit 80801d2bfc
1 changed files with 25 additions and 0 deletions

25
.travis.yml Normal file
View File

@ -0,0 +1,25 @@
language: cpp
matrix:
include:
- os: linux
dist: trusty
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
env:
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
before_install:
- eval "${MATRIX_EVAL}"
script:
- mkdir -p build
- cd build
- cmake -DPRJXRAY_BUILD_TESTING=ON ..
- make -j 4
- ctest