From 74fe3bd3689fb8fb38b8626647bef70f3f92cb77 Mon Sep 17 00:00:00 2001 From: Crayon Date: Fri, 6 Dec 2019 14:02:53 -0500 Subject: [PATCH] Add compilers to .travis.yml --- .travis.yml | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9823a7f..808c189 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,48 @@ language: c sudo: false +matrix: + include: + - os: linux + compiler: g++-5 + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-5 + - os: linux + compiler: g++-6 + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-6 + - os: linux + compiler: g++-7 + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-7 + - os: linux + compiler: g++-8 + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-8 + - os: linux + compiler: g++-9 + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-9 install: - - g++ INIReaderTest.cpp -o INIReaderTest.out + - ${TRAVIS_COMPILER} -O2 -Wall INIReaderTest.cpp -o INIReaderTest.out script: - ./INIReaderTest.out