Experimentally tweaking the travis script.

This commit is contained in:
Daniel Lemire 2019-02-22 13:22:26 -05:00
parent b35c01e31c
commit 6dbea83132
1 changed files with 14 additions and 5 deletions

View File

@ -1,11 +1,20 @@
language: c
language: c++
sudo: false
compiler:
- gcc
- clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-7
- g++-7
branches:
only:
- master
script: make && make test
script:
- export CXX=g++-7
- export CC=gcc-7
- make
- make test