Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
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
Kirill Smelkov
gevent
Commits
2b6be394
Commit
2b6be394
authored
Jun 15, 2015
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try caching at the tox level.
parent
cfc9ccc2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
.travis.yml
.travis.yml
+12
-5
tox.ini
tox.ini
+1
-1
No files found.
.travis.yml
View file @
2b6be394
...
...
@@ -8,15 +8,22 @@ env:
-
TOXENV=py33
-
TOXENV=py34
install
:
-
travis_retry pip install -U pip tox
# We only have a few files to compile, so not compiling cython itself
# makes the overall build much faster.
-
travis_retry pip install --install-option='--no-cython-compile' cython
# First install a newer pip so that it can use the wheel cache
# (only needed until travis upgrades pip to 7.x)
-
travis_retry pip install -U pip
# Then start installing our deps. Note that use of --build-options / --global-options / --install-options
# disables the cache.
# XXX: This may be useless; our environment based test matrix means these commands all
# run with the same python version.
-
travis_retry pip install -U tox cython greenlet
script
:
# Try to use the site packages of cython we just installed
# Try to use the site packages of cython we just installed. Also use development mode
# so that our actual source is not included in the cache (because it changes all the time
# the cache would be useless).
-
tox --sitepackages --develop
notifications
:
email
:
false
cache
:
directories
:
-
$HOME/.cache/pip
-
$HOME/build/gevent/gevent/.tox
tox.ini
View file @
2b6be394
...
...
@@ -5,7 +5,7 @@ envlist =
[testenv]
deps
=
greenlet
#
cython
cython
whitelist_externals
=
*
commands
=
...
...
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