Created
April 7, 2014 13:02
-
-
Save aodag/10019865 to your computer and use it in GitHub Desktop.
pythonでtoxを使うための設定。coverall通知もする。
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
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