Merge pull request #39 from kc8apf/travis_tool_builds

Travis config that builds C++ tools
This commit is contained in:
Rick Altherr 2018-01-05 17:26:19 -08:00 committed by GitHub
commit 5f02bf54e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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