added g++8 to travis; -Wno-cast-function-type flag added because https://github.com/nodejs/nan/issues/807

This commit is contained in:
Přemysl Šťastný 2019-05-27 17:07:28 +02:00
parent 38700e207e
commit d964d368aa

View File

@ -121,6 +121,14 @@ matrix:
packages: ['libstdc++-4.9-dev'] packages: ['libstdc++-4.9-dev']
env: CLANG_VERSION='5.0.0' BUILD_TYPE='Release' ENABLE_MASON=ON RUN_CLANG_FORMAT=ON ENABLE_LTO=ON env: CLANG_VERSION='5.0.0' BUILD_TYPE='Release' ENABLE_MASON=ON RUN_CLANG_FORMAT=ON ENABLE_LTO=ON
- os: linux
compiler: "gcc-8-release"
addons: &gcc8
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-8', 'libbz2-dev', 'libxml2-dev', 'libzip-dev', 'liblua5.2-dev', 'libtbb-dev', 'libboost-all-dev']
env: CCOMPILER='gcc-8' CXXCOMPILER='g++-8' BUILD_TYPE='Release' CXXFLAGS='-Wno-cast-function-type'
- os: linux - os: linux
compiler: "gcc-7-release" compiler: "gcc-7-release"
addons: &gcc7 addons: &gcc7