Browse Source

test with travis + tox

pull/18/merge
Rossen Georgiev 10 years ago
parent
commit
0fe3c555ea
  1. 4
      .scrutinizer.yml
  2. 8
      .travis.yml
  3. 2
      Makefile
  4. 17
      tox.ini

4
.scrutinizer.yml

@ -4,5 +4,5 @@ filter:
- 'vcr/*'
tools:
external_code_coverage:
timeout: 300
runs: 3
timeout: 600
runs: 1

8
.travis.yml

@ -1,14 +1,10 @@
language: python
python:
- "2.7"
- "3.3"
- "3.4"
install:
- make init
- pip install tox
- pip install coveralls
- pip install scrutinizer-ocular
script:
- make test
- tox
after_success:
- coveralls
- ocular

2
Makefile

@ -17,7 +17,7 @@ init:
pip install -r requirements.txt
test:
rm -f .coverage steam/*.pyc tests/*.pyc
coverage erase
PYTHONHASHSEED=0 nosetests --verbosity 1 --with-coverage --cover-package=steam
pylint:

17
tox.ini

@ -0,0 +1,17 @@
[tox]
envlist = py27, py33, py34, pypy
[testenv]
setenv =
PYTHONHASHSEED = 0
deps =
nose
coverage
mock
requests
enum34
vcrpy
pyyaml
commands =
coverage erase
nosetests --verbosity 1 --with-coverage --cover-package=steam
Loading…
Cancel
Save