Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
c09e1dcc
Commit
c09e1dcc
authored
Aug 10, 2018
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Let's see if we can't get gcc-8 installed on travis with Ubuntu 16.
parent
2a24a8ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
.travis.yml
.travis.yml
+13
-6
No files found.
.travis.yml
View file @
c09e1dcc
...
...
@@ -10,8 +10,8 @@ addons:
-
gdb
-
python-dbg
-
python3-dbg
-
gcc-8
-
g++-8
#
- gcc-8
#
- g++-8
cache
:
pip
:
true
...
...
@@ -110,11 +110,18 @@ branches:
before_install
:
-
|
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
mkdir "$HOME/gcc-symlinks"
ln -s /usr/bin/gcc-8 $HOME/gcc-symlinks/gcc
ln -s /usr/bin/g++-8 $HOME/gcc-symlinks/g++
sudo apt-get update
if [ "$BACKEND" = c ]; then
sudo apt-get install gcc-8
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 60
export CC=gcc-8
else
sudo apt-get install g++-8
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 60
export CXX=g++-8
fi
if [ -n "$CC" ]; then "$CC" --version; else gcc --version; fi
if [ -n "$CXX" ]; then "$CC" --version; else g++ --version; fi
fi
-
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment