[Mod] formal travis gcc upgrade

This commit is contained in:
nanoric 2019-04-15 05:57:32 -04:00
parent cbdd097122
commit fecc1c87e4

View File

@ -50,16 +50,15 @@ matrix:
- pip install . - pip install .
- name: "pip install under Ubuntu: gcc-8" - name: "pip install under Ubuntu: gcc-8"
before_install: addons:
# C++17 apt:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test sources:
- sudo apt-get update -y - ubuntu-toolchain-r-test
packages:
- g++-8
env:
- MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
install: install:
# C++17
- sudo apt-get install -y gcc-8 g++-8
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 90
- sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-8 90
- sudo update-alternatives --install /usr/bin/gcc cc /usr/bin/gcc-8 90
# update pip & setuptools # update pip & setuptools
- python -m pip install --upgrade pip wheel setuptools - python -m pip install --upgrade pip wheel setuptools
# Linux install script # Linux install script
@ -67,16 +66,15 @@ matrix:
- bash ./install.sh - bash ./install.sh
- name: "pip install under Ubuntu: gcc-7" - name: "pip install under Ubuntu: gcc-7"
before_install: addons:
# C++17 apt:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test sources:
- sudo apt-get update -y - ubuntu-toolchain-r-test
packages:
- g++-7
env:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
install: install:
# C++17
- sudo apt-get install -y gcc-7 g++-7
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 90
- sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-7 90
- sudo update-alternatives --install /usr/bin/gcc cc /usr/bin/gcc-7 90
# update pip & setuptools # update pip & setuptools
- python -m pip install --upgrade pip wheel setuptools - python -m pip install --upgrade pip wheel setuptools
# Linux install script # Linux install script
@ -119,16 +117,15 @@ matrix:
- pip install dist/`ls dist` - pip install dist/`ls dist`
- name: "sdist install under Ubuntu: gcc-8" - name: "sdist install under Ubuntu: gcc-8"
before_install: addons:
# C++17 apt:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test sources:
- sudo apt-get update -y - ubuntu-toolchain-r-test
packages:
- g++-7
env:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
install: install:
# C++17
- sudo apt-get install -y gcc-8 g++-8
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 90
- sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-8 90
- sudo update-alternatives --install /usr/bin/gcc cc /usr/bin/gcc-8 90
# Linux install script # Linux install script
- python -m pip install --upgrade pip wheel setuptools - python -m pip install --upgrade pip wheel setuptools
- pushd /tmp - pushd /tmp