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
Boxiang Sun
cython
Commits
7403a237
Commit
7403a237
authored
6 years ago
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify travis build script.
parent
46132491
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
.travis.yml
.travis.yml
+5
-9
No files found.
.travis.yml
View file @
7403a237
...
@@ -112,16 +112,12 @@ branches:
...
@@ -112,16 +112,12 @@ branches:
before_install
:
before_install
:
-
|
-
|
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 60
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 60
--slave /usr/bin/g++ g++ /usr/bin/g++-8
sudo update-alternatives --set gcc /usr/bin/gcc-8
sudo update-alternatives --set gcc /usr/bin/gcc-8
export CC=gcc-8
sudo update-alternatives --set g++ /usr/bin/g++-8
if [ "$BACKEND" = cpp ]; then
export CC=gcc-8 CXX=g++-8
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 60
$CC --version
sudo update-alternatives --set g++ /usr/bin/g++-8
$CXX --version
export CXX=g++-8
fi
if [ -n "$CC" ]; then $CC --version; else gcc --version; fi
if [ -n "$CXX" ]; then $CXX --version; else g++ --version; fi
fi
fi
-
|
-
|
...
...
This diff is collapsed.
Click to expand it.
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