Commit a1c4f551 authored by Ian Lee's avatar Ian Lee

Updated travis.yml file to use pip + the requirements/test.txt file

parent a63d6ff0
...@@ -9,14 +9,13 @@ python: ...@@ -9,14 +9,13 @@ python:
env: env:
- LXML=true - LXML=true
- LXML=false - LXML=false
# 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: PLEASE CHANGE ME
install: install:
- pip install coveralls --use-mirrors - pip install --use-mirrors -r requirements/test.txt
- if $LXML == true; then pip install --use-mirrors lxml; fi - if $LXML == true; then pip install --use-mirrors lxml; fi
# 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=fastkml setup.py test coverage run --source=fastkml setup.py test
......
-r common.txt -r common.txt
pytest pytest
coveralls
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment