grim/pyparser

Parents 47d87c888111
Children a538ad2239a1
Add local-pipelines.yml that runs the tests with the python:3, python:2, and python:3.6 images
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/local-pipelines.yml Fri Aug 12 11:13:36 2016 -0500
@@ -0,0 +1,31 @@
+# vi:et:ts=2 sw=2 sts=2
+image: python:3
+pipelines:
+ default:
+ - step:
+ script:
+ - set -ex
+ - find . -type f -iname "*.pyc" -exec rm -f {} \; || true
+ - find . -type d -iname __pycache__ -exec rm -rf {} \; || true
+ - pip install -r dev-requirements.txt
+ - flake8
+ - PYTHONPATH=$(pwd)/src py.test --color=auto --cov=pyparser --cov-report=term-missing tests
+ - step:
+ image: python:2
+ script:
+ - set -ex
+ - find . -type f -iname "*.pyc" -exec rm -f {} \; || true
+ - find . -type d -iname __pycache__ -exec rm -rf {} \; || true
+ - pip install -r dev-requirements.txt
+ - flake8
+ - PYTHONPATH=$(pwd)/src py.test --color=auto --cov=pyparser --cov-report=term-missing tests
+ - step:
+ image: python:3.6
+ script:
+ - set -ex
+ - find . -type f -iname "*.pyc" -exec rm -f {} \; || true
+ - find . -type d -iname __pycache__ -exec rm -rf {} \; || true
+ - pip install -r dev-requirements.txt
+ - flake8
+ - PYTHONPATH=$(pwd)/src py.test --color=auto --cov=pyparser --cov-report=term-missing tests
+