-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1763 from dstufft/refactor-travis-install
Refactor travis install logic to move it into a shell script
- Loading branch information
Showing
2 changed files
with
24 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
set -x | ||
|
||
case $TOXENV in | ||
py34) | ||
sudo add-apt-repository -y ppa:fkrull/deadsnakes | ||
sudo apt-get update | ||
sudo apt-get install python3.4 | ||
;; | ||
pypy) | ||
sudo add-apt-repository -y ppa:pypy/ppa | ||
sudo apt-get -y update | ||
sudo apt-get -y install pypy | ||
;; | ||
esac | ||
|
||
git config --global user.email "python-virtualenv@googlegroups.com" | ||
git config --global user.name "Pip" | ||
|
||
pip install --upgrade setuptools | ||
pip install tox |