Run all tests from solar dir

This commit is contained in:
Łukasz Oleś 2015-11-19 16:20:06 +01:00
parent fcf99f710b
commit 3e1c925232
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
language: python language: python
python: 2.7 python: 2.7
env: env:
- PIP_ACCEL_CACHE=$HOME/.pip-accel-cache SOLAR_CONFIG=$TRAVIS_BUILD_DIR/.config - PIP_ACCEL_CACHE=$HOME/.pip-accel-cache SOLAR_CONFIG=$TRAVIS_BUILD_DIR/.config SOLAR_SOLAR_DB_HOST=localhost
cache: cache:
directories: directories:
- $HOME/.pip-accel-cache - $HOME/.pip-accel-cache
@ -10,7 +10,7 @@ install:
- pip-accel install coveralls - pip-accel install coveralls
- pip-accel install -r solar/test-requirements.txt - pip-accel install -r solar/test-requirements.txt
script: script:
- cd solar && py.test --cov=solar -s solar/test && cd .. - cd solar && py.test --cov=solar -s solar && cd ..
services: services:
- riak - riak
after_success: after_success:

View File

@ -3,3 +3,4 @@ hacking==0.7
pytest-cov pytest-cov
pytest-mock pytest-mock
tox tox
peewee