Attempt fix c++ version

This commit is contained in:
Rico Tiongson 2019-03-10 18:24:54 +08:00
parent 115ec68ca9
commit f432d36fa9

View File

@ -1,8 +1,11 @@
dist: xenial
language: c++
sudo: required
git:
depth: false
matrix:
include:
- addons: {apt: {packages: ["g++-8"]}}
env: {MATRIX_EVAL: "CC=gcc-7 && CXX=g++-7"}
- addons: {apt: {packages: ["g++-8"]}}
env: {MATRIX_EVAL: "CC=gcc-8 && CXX=g++-8"}
addons:
apt:
update: true
@ -11,13 +14,7 @@ addons:
packages:
- libxdo-dev
- libinput-tools
- g++-7
env:
CC: gcc-7
CXX: g++-7
install:
- bash install
script:
- ./tests/run_tests
after_script:
- bash uninstall
before_install: eval "${MATRIX_EVAL}"
install: bash install
script: ./tests/run_tests
after_script: bash uninstall