-
Notifications
You must be signed in to change notification settings - Fork 543
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaces #1246 Unfortunately the code duplication is required in this case. Drone doesn't have quite as sophisticated matrix runner functionality that Travis has. See here: https://docs.drone.io/pipeline/docker/examples/languages/python/ We could parametrically create the runners using a jsonnet file (as shown at the bottom of that example page) but I wanted to keep it all in the .yml file if possible.
- Loading branch information
1 parent
651fc84
commit 4a30203
Showing
1 changed file
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
--- | ||
kind: pipeline | ||
name: python-3-6 | ||
type: docker | ||
platform: | ||
os: linux | ||
arch: amd64 | ||
|
||
steps: | ||
- name: test | ||
image: python:3.6 | ||
commands: | ||
- pip install -U setuptools pip | ||
- bash .travis.fuseki_install_optional.sh | ||
- pip install --default-timeout 60 -r requirements.txt | ||
- pip install --default-timeout 60 -r requirements.dev.txt | ||
- pip install --default-timeout 60 coverage coveralls nose-timer && export HAS_COVERALLS=1 | ||
- python setup.py install | ||
- flake8 --exit-zero rdflib | ||
- PYTHONWARNINGS=default nosetests --with-timer --timer-top-n 42 --with-coverage --cover-tests --cover-package=rdflib | ||
|
||
--- | ||
kind: pipeline | ||
name: python-3-7 | ||
type: docker | ||
platform: | ||
os: linux | ||
arch: amd64 | ||
|
||
steps: | ||
- name: test | ||
image: python:3.7 | ||
commands: | ||
- bash .travis.fuseki_install_optional.sh | ||
- pip install --default-timeout 60 -r requirements.txt | ||
- pip install --default-timeout 60 -r requirements.dev.txt | ||
- pip install --default-timeout 60 coverage coveralls nose-timer && export HAS_COVERALLS=1 | ||
- python setup.py install | ||
- flake8 --exit-zero rdflib | ||
- PYTHONWARNINGS=default nosetests --with-timer --timer-top-n 42 --with-coverage --cover-tests --cover-package=rdflib | ||
|
||
--- | ||
kind: pipeline | ||
name: python-3-8 | ||
type: docker | ||
platform: | ||
os: linux | ||
arch: amd64 | ||
|
||
steps: | ||
- name: test | ||
image: python:3.8 | ||
commands: | ||
- bash .travis.fuseki_install_optional.sh | ||
- pip install --default-timeout 60 -r requirements.txt | ||
- pip install --default-timeout 60 -r requirements.dev.txt | ||
- pip install --default-timeout 60 coverage coveralls nose-timer && export HAS_COVERALLS=1 | ||
- python setup.py install | ||
- flake8 --exit-zero rdflib | ||
- PYTHONWARNINGS=default nosetests --with-timer --timer-top-n 42 --with-coverage --cover-tests --cover-package=rdflib |