From dc76265b4df3109e98ae17b4707a68e1cbc03910 Mon Sep 17 00:00:00 2001 From: TitanSnow Date: Mon, 15 May 2017 10:18:34 +0800 Subject: upgrade gcc --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f0d45a355..33c52e314 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ before_install: install: - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install dmd rust; fi - - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; sudo apt-get update -q; sudo apt-get install -yq gcc-6; sudo update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-6 99; gcov --version; fi + - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; sudo apt-get update -q; sudo apt-get install -yq gcc-6; sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 99 --slave /usr/bin/gcov gcov /usr/bin/gcov-6; gcc --version; gcov --version; fi script: - scripts/get.sh __local__ -- cgit v1.3.1 From 9e4a1c743db3fffe038da9ec89b17cc9826efd36 Mon Sep 17 00:00:00 2001 From: TitanSnow Date: Mon, 15 May 2017 10:25:10 +0800 Subject: remove original gcc --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 33c52e314..508fdcc76 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ before_install: install: - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install dmd rust; fi - - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; sudo apt-get update -q; sudo apt-get install -yq gcc-6; sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 99 --slave /usr/bin/gcov gcov /usr/bin/gcov-6; gcc --version; gcov --version; fi + - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get autoremove -yq gcc g++; sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; sudo apt-get update -q; sudo apt-get install -yq gcc-6; sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 99 --slave /usr/bin/gcov gcov /usr/bin/gcov-6; gcc --version; gcov --version; fi script: - scripts/get.sh __local__ -- cgit v1.3.1 From 98388a83e5ea304ea48056b61452eceec0f8bb38 Mon Sep 17 00:00:00 2001 From: TitanSnow Date: Mon, 15 May 2017 10:31:35 +0800 Subject: upgrade g++ as well --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 508fdcc76..0aa161d1e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ before_install: install: - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install dmd rust; fi - - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get autoremove -yq gcc g++; sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; sudo apt-get update -q; sudo apt-get install -yq gcc-6; sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 99 --slave /usr/bin/gcov gcov /usr/bin/gcov-6; gcc --version; gcov --version; fi + - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get autoremove -yq gcc g++; sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; sudo apt-get update -q; sudo apt-get install -yq gcc-6 g++-6; sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 99 --slave /usr/bin/gcov gcov /usr/bin/gcov-6 --slave /usr/bin/g++ g++ /usr/bin/g++-6; gcc --version; g++ --version; gcov --version; fi script: - scripts/get.sh __local__ -- cgit v1.3.1