From aefe6e8449b1343c9182326d9941bc51f6fe55e7 Mon Sep 17 00:00:00 2001 From: Syoyo Fujita Date: Thu, 31 Oct 2019 01:02:43 +0900 Subject: [PATCH 1/2] Add gcc-4.8 build on Travis. --- .travis.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.travis.yml b/.travis.yml index 87e777a..38a6584 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,6 +31,17 @@ matrix: - addons: *1 compiler: clang env: COMPILER_VERSION=3.9 BUILD_TYPE=Debug CFLAGS="-O0" CXXFLAGS="-O0" + - addons: &3 + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-4.8 + compiler: gcc + env: COMPILER_VERSION=4.8 BUILD_TYPE=Debug + - addons: *1 + compiler: gcc + env: COMPILER_VERSION=4.8 BUILD_TYPE=Release before_install: - ./.travis-before-install.sh From 9ea5c88a66be0421854dd8402fe3dd4d272549fb Mon Sep 17 00:00:00 2001 From: Syoyo Fujita Date: Thu, 31 Oct 2019 02:17:22 +0900 Subject: [PATCH 2/2] Fix travis script. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 38a6584..70f7679 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,7 +39,7 @@ matrix: - g++-4.8 compiler: gcc env: COMPILER_VERSION=4.8 BUILD_TYPE=Debug - - addons: *1 + - addons: *3 compiler: gcc env: COMPILER_VERSION=4.8 BUILD_TYPE=Release