Commit a5768e5c authored by Christian Ledermann's avatar Christian Ledermann

yapf and autopep8 changes, add codecov to travis, remove continuous deploy for now

parent fd84af85
......@@ -8,6 +8,8 @@ python:
env:
- LXML=true
- LXML=false
before_install:
pip install codecov
install:
- pip install -r requirements.txt
- if $LXML == true; then pip install lxml; fi
......@@ -15,16 +17,11 @@ install:
script:
- coverage run --source=fastkml setup.py test
- if [[ $TRAVIS_PYTHON_VERSION != 3.2 ]]; then cd docs && make html; fi
after_success: coveralls
after_success:
coveralls
codecov
notifications:
email:
- christian.ledermann@gmail.com
- IanLee1521@gmail.com
deploy:
provider: pypi
user:
password:
secure:
distributions: "sdist bdist_wheel"
on:
tags: true
......@@ -130,9 +130,9 @@ class Geometry(_BaseObject):
def _set_altitude_mode(self, element):
if self.altitude_mode:
# XXX add 'relativeToSeaFloor', 'clampToSeaFloor',
assert(self.altitude_mode in [
'clampToGround',
# 'relativeToSeaFloor', 'clampToSeaFloor',
'relativeToGround', 'absolute'
])
if self.altitude_mode != 'clampToGround':
......
This diff is collapsed.
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