machine: | |
python: | |
version: 2.7.9 | |
checkout: | |
post: | |
- > | |
if [ -n "$CI_PULL_REQUEST" ]; then | |
PR_ID=${CI_PULL_REQUEST##*/} | |
git fetch origin +refs/pull/$PR_ID/merge: | |
git checkout -qf FETCH_HEAD | |
fi | |
dependencies: | |
override: | |
- pip install --upgrade tox virtualenv | |
test: | |
override: | |
# - tox -e docs | |
- tox -e flake8 | |
- tox -e py27 | |
# Docs artifacts | |
general: | |
artifacts: | |
- .tox/docs/tmp/html |