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 dist: xenial
language: c++
sudo: required sudo: required
git: matrix:
depth: false 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: addons:
apt: apt:
update: true update: true
@ -11,13 +14,7 @@ addons:
packages: packages:
- libxdo-dev - libxdo-dev
- libinput-tools - libinput-tools
- g++-7 before_install: eval "${MATRIX_EVAL}"
env: install: bash install
CC: gcc-7 script: ./tests/run_tests
CXX: g++-7 after_script: bash uninstall
install:
- bash install
script:
- ./tests/run_tests
after_script:
- bash uninstall