diff options
author | Donald Stufft <donald@stufft.io> | 2014-04-26 01:29:00 -0400 |
---|---|---|
committer | Donald Stufft <donald@stufft.io> | 2014-04-26 01:44:12 -0400 |
commit | 31fc943a98a99592f2228905acd3c0c3f6b71de5 (patch) | |
tree | abe554ac5ace6bf8aa134b7b9f46e6525cf37fe2 /.travis.yml | |
parent | 5adf82b7e79a4abcea0b659c85cc86f8026560c0 (diff) | |
download | pip-31fc943a98a99592f2228905acd3c0c3f6b71de5.tar.gz |
Refactor travis install logic to move it into a shell script
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/.travis.yml b/.travis.yml index fad249573..abb9a5864 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,19 +14,7 @@ env: before_install: - "[ -d ~/.distlib ] && sudo chown -R travis:travis ~/.distlib || true" -install: - - "if [[ $TOXENV == 'pypy' ]]; then sudo add-apt-repository -y ppa:pypy/ppa; fi" - - "if [[ $TOXENV == 'pypy' ]]; then sudo apt-get -y update && sudo apt-get -y install pypy; fi" - # This is required because we need to get rid of the Travis installed PyPy - # or it'll take precedence over the PPA installed one. - - "if [[ $TOXENV == 'pypy' ]]; then sudo rm -rf /usr/local/pypy/bin; fi" - - "if [[ $TOXENV == 'py34' ]]; then .travis/py34.sh; fi" - - sudo apt-get install subversion bzr mercurial - - echo -e "[web]\ncacerts = /etc/ssl/certs/ca-certificates.crt" >> ~/.hgrc - - git config --global user.email "python-virtualenv@googlegroups.com" - - git config --global user.name "Pip" - - pip install --upgrade setuptools - - pip install tox +install: .travis/install.sh script: .travis/run.sh |