Skip to content
Snippets Groups Projects
Commit 0a6e8e45c1e5 authored by Houzefa Abbasbhay's avatar Houzefa Abbasbhay :slight_smile:
Browse files

Update the Drone file

Now on <https://drone-ci.xcg.io/faide/py3o.template>.
parent 279d3d24f08f
No related branches found
No related tags found
No related merge requests found
# vim: set shiftwidth=2 softtabstop=2:
clone:
......@@ -1,4 +3,6 @@
clone:
image: hg
path: bitbucket.org/faide/py3o.template
hg:
image: plugins/hg
pipeline:
......@@ -4,11 +8,8 @@
build:
image: xcgd/dronebase
commands:
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq subversion python3-dev
- pip install setuptools --upgrade
# - python setup.py install # do not install to avoid having wrong version of genshi
- pip install tox
# tox only pycodestyle & py27 because python3 requires a genshi trunk from svn...
- tox -e pycodestyle,py27
test:
# TODO babel currency formatting change when using python:3 as base image;
# "test_format_currency" then fails.
image: xcgd/dronebase
pull: true
commands:
......@@ -14,6 +15,14 @@
notify:
slack:
webhook_url: $$mattermost_token
# The following won't be needed once we switch to python:3 as base image.
- apt -qq update
- DEBIAN_FRONTEND=noninteractive apt -qq -y install python3-dev
- pip install setuptools --upgrade
- pip install tox
# tox only pycodestyle & py27 because python3 requires a genshi trunk from svn...
- tox -e pycodestyle,py27
notify:
image: plugins/slack
channel: dev
username: drone
......@@ -18,2 +27,5 @@
channel: dev
username: drone
secrets: [slack_webhook]
when:
status: [failure, success]
py3o.template
*************
.. image:: https://drone.xcg.io/api/badges/faide/py3o.template/status.svg
:target: https://drone.xcg.io/faide/py3o.template
.. image:: https://drone-ci.xcg.io/api/badges/faide/py3o.template/status.svg
:target: https://drone-ci.xcg.io/faide/py3o.template
:alt: Build Status
Introduction
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment