Commit 94ba0885 authored by xoviat's avatar xoviat Committed by GitHub

[travis] update gcc

parent dc8e8c64
...@@ -8,6 +8,7 @@ addons: ...@@ -8,6 +8,7 @@ addons:
- gdb - gdb
- python-dbg - python-dbg
- python3-dbg - python3-dbg
- gcc-6
cache: cache:
pip: true pip: true
...@@ -84,6 +85,17 @@ branches: ...@@ -84,6 +85,17 @@ branches:
- release - release
before_install: before_install:
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
mkdir "$HOME/gcc-symlinks"
export PATH="$HOME/gcc-symlinks:$PATH"
ln -s $HOME/gcc-symlinks/gcc /usr/bin/gcc-6
ln -s $HOME/gcc-symlinks/g++ /usr/bin/gcc-6
which gcc
which g++
fi
- | - |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then # Install Miniconda if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then # Install Miniconda
curl -s -o miniconda.sh https://repo.continuum.io/miniconda/Miniconda$PY-latest-MacOSX-x86_64.sh; curl -s -o miniconda.sh https://repo.continuum.io/miniconda/Miniconda$PY-latest-MacOSX-x86_64.sh;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment