Skip to content

Instantly share code, notes, and snippets.

@aodag
Created April 7, 2014 13:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aodag/10019865 to your computer and use it in GitHub Desktop.
Save aodag/10019865 to your computer and use it in GitHub Desktop.
pythonでtoxを使うための設定。coverall通知もする。
language: python
python: 3.3
env:
matrix:
- TOXENV=py26
- TOXENV=py27
- TOXENV=pypy
- TOXENV=py33
- TOXENV=py34
- TOXENV=coverage
before_install:
- if test "$TOXENV" = py34 ; then sudo apt-get update ; fi
- if test "$TOXENV" = py34 ; then sudo apt-get install python3.4 python3.4-dev ; fi
install:
- pip install tox
- if test "$TOXENV" = coverage ; then pip install python-coveralls ; fi
script: tox
after_success:
- if test "$TOXENV" = coverage ; then coveralls ; fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment