|
@@ -2,17 +2,21 @@ language: python
|
|
python:
|
|
python:
|
|
- 2.7
|
|
- 2.7
|
|
- 3.4
|
|
- 3.4
|
|
|
|
+
|
|
|
|
+before_script:
|
|
|
|
+ - psql -c 'create database pwman;' -U postgres
|
|
|
|
+
|
|
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
|
|
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
|
|
install:
|
|
install:
|
|
- - "pip install -r requirements.txt"
|
|
|
|
- - "pip install coveralls"
|
|
|
|
- - "pip install ."
|
|
|
|
|
|
+ - "pip install -r requirements.txt"
|
|
|
|
+ - "pip install coveralls"
|
|
|
|
+ - "pip install ."
|
|
# command to run tests, e.g. python setup.py test
|
|
# command to run tests, e.g. python setup.py test
|
|
script:
|
|
script:
|
|
- coverage run --source=pwman setup.py test
|
|
|
|
|
|
+ coverage run --source=pwman setup.py test
|
|
|
|
|
|
- #coverage run --omit="pwman/tests/*.py,pwman/ui/mac.py,pwman/ui/win.py,pwman/data/convertdb.py,pwman/data/nodes_multiple_approach.py,pwman/data/models.py,pwman/data/drivers/postgresql.py,pwman/data/drivers/mysql.py,pwman/exchange/importer.py,pwman/ui/base.py" --source=pwman setup.py test
|
|
|
|
|
|
+#coverage run --omit="pwman/tests/*.py,pwman/ui/mac.py,pwman/ui/win.py,pwman/data/convertdb.py,pwman/data/nodes_multiple_approach.py,pwman/data/models.py,pwman/data/drivers/postgresql.py,pwman/data/drivers/mysql.py,pwman/exchange/importer.py,pwman/ui/base.py" --source=pwman setup.py test
|
|
|
|
|
|
|
|
|
|
after_success:
|
|
after_success:
|
|
- coveralls
|
|
|
|
|
|
+ coveralls
|