From 9efc0ec40da2cc931b81b9254323fbd84f5c7621 Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Tue, 2 May 2017 21:32:19 +0200 Subject: [PATCH] Travis: Added GCC 6 --- .travis.yml | 6 ++++++ test/JsonVariant/printTo.cpp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3857aa35..e14da707 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,6 +44,12 @@ matrix: sources: ['ubuntu-toolchain-r-test'] packages: ['g++-5'] env: SCRIPT=cmake GCC=5 SANITIZE=undefined + - compiler: gcc + addons: + apt: + sources: ['ubuntu-toolchain-r-test'] + packages: ['g++-6'] + env: SCRIPT=cmake GCC=6 - compiler: clang env: SCRIPT=cmake - compiler: clang diff --git a/test/JsonVariant/printTo.cpp b/test/JsonVariant/printTo.cpp index 454b3ed8..30aacd46 100644 --- a/test/JsonVariant/printTo.cpp +++ b/test/JsonVariant/printTo.cpp @@ -103,7 +103,7 @@ TEST_CASE("JsonVariant::printTo()") { } SECTION("UInt64") { - check(18446744073709551615, "18446744073709551615"); + check(18446744073709551615U, "18446744073709551615"); } #endif }