2012-02-24 15:53:46 +01:00
|
|
|
language: python
|
2013-08-28 10:29:39 +02:00
|
|
|
|
2014-02-10 14:20:15 +01:00
|
|
|
env:
|
|
|
|
- TOXENV=pep8
|
|
|
|
- TOXENV=py3pep8
|
|
|
|
- TOXENV=docs
|
|
|
|
- TOXENV=py26
|
|
|
|
- TOXENV=py27
|
|
|
|
- TOXENV=py32
|
|
|
|
- TOXENV=py33
|
|
|
|
- TOXENV=py34
|
|
|
|
- TOXENV=pypy
|
2013-08-28 10:29:39 +02:00
|
|
|
|
2014-01-16 23:00:03 +01:00
|
|
|
before_install:
|
|
|
|
- "[ -d ~/.distlib ] && sudo chown -R travis:travis ~/.distlib || true"
|
|
|
|
|
2013-08-23 15:45:03 +02:00
|
|
|
install:
|
2014-02-10 14:20:15 +01:00
|
|
|
- "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.
|
2014-02-10 14:20:15 +01:00
|
|
|
- "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"
|
2013-08-28 10:29:39 +02:00
|
|
|
- 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
|
2013-08-28 10:29:39 +02:00
|
|
|
- pip install tox
|
|
|
|
|
2014-02-10 14:20:15 +01:00
|
|
|
script: tox
|
2013-08-28 10:29:39 +02:00
|
|
|
|
2012-02-24 15:53:46 +01:00
|
|
|
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
|
2013-08-28 10:29:39 +02:00
|
|
|
|
|
|
|
notifications:
|
2014-03-23 17:29:30 +01:00
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "irc.freenode.org#pypa-dev"
|
|
|
|
use_notice: true
|
|
|
|
skip_join: true
|