Skip to content

Commit

Permalink
Made slp install conditional to TOX_ENV
Browse files Browse the repository at this point in the history
Changed hard-coded travis homedir to {homedir}
  • Loading branch information
rgalanakis committed Jun 13, 2014
1 parent 22ec3ca commit d32005d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Expand Up @@ -7,9 +7,8 @@ env:
# - TOX_ENV=33gevent
- TOX_ENV=27slptravis
before_install:
- wget http://www.robg3d.com/downloads/stackless-2.7.6_amd64.zip
- unzip -q stackless-2.7.6_amd64.zip -d $HOME
- echo "Home is $HOME"
- if [ \"$TOX_ENV\" == \"27slptravis\" ]; then wget http://www.robg3d.com/downloads/stackless-2.7.6_amd64.zip; fi
- if [ \"$TOX_ENV\" == \"27slptravis\" ]; then unzip -q stackless-2.7.6_amd64.zip -d $HOME; fi
install:
- "pip install tox --download-cache $HOME/.pip-cache"
# - "pip install coveralls --download-cache $HOME/.pip-cache"
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Expand Up @@ -22,8 +22,8 @@ deps =
{[testenv]deps}
git+https://github.com/surfly/gevent.git#gevent-egg

[testenv:33gevent]
; See https://github.com/rgalanakis/goless/issues/21
[testenv:33gevent]
basepython = python3.3
commands =
pip install git+https://github.com/surfly/gevent.git#gevent-egg
Expand All @@ -36,6 +36,6 @@ deps =

; See https://github.com/rgalanakis/goless/issues/20
[testenv:27slptravis]
basepython = /home/travis/stackless-2.7.6/bin/python
basepython = {homedir}/stackless-2.7.6/bin/python
setenv =
GOLESS_BACKEND = stackless

0 comments on commit d32005d

Please sign in to comment.