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
python: 2.7
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:
directories:
- $HOME/.pip-accel-cache
@ -10,7 +10,7 @@ install:
- pip-accel install coveralls
- pip-accel install -r solar/test-requirements.txt
script:
- cd solar && py.test --cov=solar -s solar/test && cd ..
- cd solar && py.test --cov=solar -s solar && cd ..
services:
- riak
after_success:

View File

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