2014-01-23 16:20:51 -08:00
|
|
|
language: python
|
|
|
|
python:
|
2014-03-04 18:12:36 -08:00
|
|
|
- "2.6"
|
2014-03-04 18:49:36 -08:00
|
|
|
- "2.7"
|
2014-03-13 22:38:56 -07:00
|
|
|
# - "pypy"
|
2014-01-23 16:20:51 -08:00
|
|
|
# command to install dependencies
|
|
|
|
install:
|
2014-03-04 19:36:29 -08:00
|
|
|
- "pip install 'argparse>=1.2.1' --allow-all-external"
|
2014-02-25 15:30:16 -08:00
|
|
|
- python setup.py -q install
|
2014-03-04 19:36:29 -08:00
|
|
|
- pip install coverage pytest-cov coveralls --use-mirrors
|
2014-01-23 16:20:51 -08:00
|
|
|
# command to run tests
|
2014-02-01 00:12:11 -08:00
|
|
|
#script: nosetests --with-doctest
|
2014-02-12 13:16:07 -08:00
|
|
|
#script: py.test run-tests.py ./pywb/ --doctest-modules --ignore=setup.py
|
2014-02-24 23:43:32 -08:00
|
|
|
#script: py.test -v --doctest-module ./tests/*.py ./pywb/
|
|
|
|
script:
|
2014-03-05 11:19:26 -08:00
|
|
|
#py.test --cov-config .coveragerc --cov pywb -v --doctest-module ./pywb/ tests/
|
|
|
|
python setup.py test
|
2014-02-24 23:43:32 -08:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
coveralls
|