Commit a4148d32 authored by xoviat's avatar xoviat Committed by GitHub

[travis] fix paths

parent f0cce46e
...@@ -36,7 +36,7 @@ env: ...@@ -36,7 +36,7 @@ env:
- CCACHE_SLOPPINESS=pch_defines,time_macros - CCACHE_SLOPPINESS=pch_defines,time_macros
- CCACHE_COMPRESS=1 - CCACHE_COMPRESS=1
- CCACHE_MAXSIZE=100M - CCACHE_MAXSIZE=100M
- PATH="/usr/lib/ccache:$PATH" - PATH="/usr/lib/ccache:$HOME/gcc-symlinks:$PATH"
matrix: matrix:
- BACKEND=c - BACKEND=c
- BACKEND=cpp - BACKEND=cpp
...@@ -90,12 +90,8 @@ before_install: ...@@ -90,12 +90,8 @@ before_install:
- | - |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
mkdir "$HOME/gcc-symlinks" mkdir "$HOME/gcc-symlinks"
export PATH="$HOME/gcc-symlinks:$PATH" ln -s /usr/bin/gcc-6 $HOME/gcc-symlinks/gcc
ln -s $HOME/gcc-symlinks/gcc /usr/bin/gcc-6 ln -s /usr/bin/gcc-6 $HOME/gcc-symlinks/g++
ln -s $HOME/gcc-symlinks/g++ /usr/bin/gcc-6
which gcc
which g++
fi fi
- | - |
......
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