grim/local-pipelines
Clone
Summary
Browse
Changes
Graph
pipeline: convert script path to posix for windows
draft
2016-09-10, Sean Farley
7359577fb08d
pipeline: convert script path to posix for windows
Docker for Windows needs a posix path to pass down to docker, so let's
manually convert to posix here.
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) py.test --color=auto --cov=pipelines --cov-report=term-missing tests