Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
py3o.template
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Florent Aide
py3o.template
Commits
0a6e8e45c1e5
Commit
0a6e8e45c1e5
authored
6 years ago
by
Houzefa Abbasbhay
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.drone.yml
+26
-14
26 additions, 14 deletions
.drone.yml
README.rst
+2
-2
2 additions, 2 deletions
README.rst
with
28 additions
and
16 deletions
.drone.yml
+
26
−
14
View file @
0a6e8e45
# 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
]
This diff is collapsed.
Click to expand it.
README.rst
+
2
−
2
View file @
0a6e8e45
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment