Unverified Commit 7b4b07ac authored by Brad Rydzewski's avatar Brad Rydzewski Committed by GitHub

Update .drone.yml

parent 5388ffbb
cache: pipeline:
mount: build:
- wheeldir image: python:3.5.1-alpine
commands:
build: - pip install --upgrade pip setuptools wheel
image: python:3.5.1-alpine - pip wheel -r requirements.txt --wheel-dir=wheeldir --find-links=wheeldir
commands: - pip wheel -r test-requirements.txt --wheel-dir=wheeldir --find-links=wheeldir
- pip install --upgrade pip setuptools wheel - pip install --use-wheel --no-index --find-links=wheeldir -r requirements.txt
- pip wheel -r requirements.txt --wheel-dir=wheeldir --find-links=wheeldir - pip install --use-wheel --no-index --find-links=wheeldir -r test-requirements.txt
- pip wheel -r test-requirements.txt --wheel-dir=wheeldir --find-links=wheeldir - python setup.py install
- pip install --use-wheel --no-index --find-links=wheeldir -r requirements.txt - flake8 dronedemo
- pip install --use-wheel --no-index --find-links=wheeldir -r test-requirements.txt - mkdir -p coverage
- python setup.py install - nosetests -v tests/
- flake8 dronedemo
- mkdir -p coverage
- nosetests -v tests/
publish:
docker:
username: $$DOCKER_USERNAME
password: $$DOCKER_PASS
email: $$DOCKER_EMAIL
repo: dronedemos/drone-with-python
tag: $$TAG
when:
event: tag
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