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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
3d36766f
Commit
3d36766f
authored
Aug 10, 2018
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try to avoid sudo dependency in travis.
parent
22eef3dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
.travis.yml
.travis.yml
+8
-8
No files found.
.travis.yml
View file @
3d36766f
...
@@ -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=150M
-
CCACHE_MAXSIZE=150M
-
PATH="/usr/lib/ccache:$HOME/miniconda/bin:$PATH"
-
PATH="/usr/lib/ccache:$HOME/
gcclinks:$HOME/
miniconda/bin:$PATH"
matrix
:
matrix
:
-
BACKEND=c
-
BACKEND=c
-
BACKEND=cpp
-
BACKEND=cpp
...
@@ -45,19 +45,19 @@ matrix:
...
@@ -45,19 +45,19 @@ matrix:
include
:
include
:
-
python
:
3.7
-
python
:
3.7
dist
:
xenial
# Required for Python 3.7
dist
:
xenial
# Required for Python 3.7
sudo
:
required
# travis-ci/travis-ci#9069
#
sudo: required # travis-ci/travis-ci#9069
env
:
BACKEND=c
env
:
BACKEND=c
-
python
:
3.7
-
python
:
3.7
dist
:
xenial
# Required for Python 3.7
dist
:
xenial
# Required for Python 3.7
sudo
:
required
# travis-ci/travis-ci#9069
#
sudo: required # travis-ci/travis-ci#9069
env
:
BACKEND=cpp
env
:
BACKEND=cpp
-
python
:
3.8-dev
-
python
:
3.8-dev
dist
:
xenial
# Required for Python 3.7
dist
:
xenial
# Required for Python 3.7
sudo
:
required
# travis-ci/travis-ci#9069
#
sudo: required # travis-ci/travis-ci#9069
env
:
BACKEND=c
env
:
BACKEND=c
-
python
:
3.8-dev
-
python
:
3.8-dev
dist
:
xenial
# Required for Python 3.7
dist
:
xenial
# Required for Python 3.7
sudo
:
required
# travis-ci/travis-ci#9069
#
sudo: required # travis-ci/travis-ci#9069
env
:
BACKEND=cpp
env
:
BACKEND=cpp
-
os
:
osx
-
os
:
osx
osx_image
:
xcode6.4
osx_image
:
xcode6.4
...
@@ -111,9 +111,9 @@ branches:
...
@@ -111,9 +111,9 @@ 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 --slave /usr/bin/g++ g++ /usr/bin/g++-8
mkdir -p $HOME/gcclinks
sudo update-alternatives --set gcc /usr/bin/gcc-8
ln -s /usr/bin/gcc-8 $HOME/gcclinks/gcc
sudo update-alternatives --set g++ /usr/bin/g++-8
ln -s /usr/bin/g++-8 $HOME/gcclinks/g++
export CC=gcc-8 CXX=g++-8
export CC=gcc-8 CXX=g++-8
$CC --version
$CC --version
$CXX --version
$CXX --version
...
...
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