From 65fecc2674fa750b86b76c96d7455b13a74739f8 Mon Sep 17 00:00:00 2001 From: Jordan Johnson-Doyle Date: Fri, 15 Feb 2019 19:16:13 +0000 Subject: [PATCH] Install gcc-7 on Ubuntu builds --- .travis.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 565a83f..4acbb8f 100644 --- a/.travis.yml +++ a/.travis.yml @@ -1,8 +1,10 @@ # Based on the "trust" template v0.1.2 # https://github.com/japaric/trust/tree/v0.1.2 dist: xenial language: rust +rust: + - nightly services: docker sudo: required @@ -15,26 +17,25 @@ include: # Linux - env: TARGET=arm-unknown-linux-gnueabi - rust: nightly - - env: TARGET=x86_64-unknown-linux-gnu - rust: nightly + - env: TARGET=x86_64-unknown-linux-gnu CC=gcc-7 + addons: + apt: + packages: + - gcc-7 + sources: + - ubuntu-toolchain-r-test - env: TARGET=x86_64-unknown-linux-musl - rust: nightly # OSX - env: TARGET=x86_64-apple-darwin os: osx - rust: nightly # *BSD - env: TARGET=x86_64-unknown-freebsd DISABLE_TESTS=1 - rust: nightly - env: TARGET=x86_64-unknown-netbsd DISABLE_TESTS=1 - rust: nightly # Windows - env: TARGET=x86_64-pc-windows-gnu - rust: nightly before_install: - set -e -- rgit 0.1.3