pip/.travis.yml

46 lines
1.2 KiB
YAML
Raw Normal View History

language: python
env:
- TOXENV=pep8
- TOXENV=py3pep8
- TOXENV=docs
- TOXENV=py26
- TOXENV=py27
- TOXENV=py32
- TOXENV=py33
- TOXENV=py34
- TOXENV=pypy
2014-01-16 23:00:03 +01:00
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"
2013-09-26 21:26:00 +02:00
# 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"
2014-01-13 20:27:11 +01:00
- "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"
2013-11-07 20:31:56 +01:00
- pip install --upgrade setuptools
- pip install tox
script: tox
branches:
only:
- develop
2013-02-22 07:25:00 +01:00
- 1.3.X
2013-07-24 01:59:03 +02:00
- 1.4.X
2013-11-25 00:38:40 +01:00
- 1.5.X
notifications:
irc:
channels:
- "irc.freenode.org#pypa-dev"
use_notice: true
skip_join: true