Created
October 21, 2016 09:17
-
-
Save lksv/3db33882caa275630548fa1cbc5d5cdd to your computer and use it in GitHub Desktop.
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
image: python:3.4 | |
stages: | |
- build | |
- test | |
- e2e-test | |
- deploy | |
before_script: | |
# pip install -r requirements.txt | |
- which pip3 && pip3 install Flask-Cache pyflakes | |
- which pip3 && pip3 install pylint | |
pylint: | |
stage: test | |
script: | | |
FILES=$(find . -name "*.py" | grep -v "ci-scripts/") | |
pylint ${FILES} | |
pyflakes: | |
stage: test | |
script: | | |
FILES=$(find . -name "*.py" | grep -v "ci-scripts/") | |
python3 -m pyflakes ${FILES} | |
epydoc: | |
stage: test | |
image: python:2.7 | |
script: | | |
pip install epydoc | |
epydoc -o epydoc_html server.py src | |
artifacts: | |
expire_in: 31 days | |
name: "epydoc-${CI_BUILD_NAME}-${CI_BUILD_REF_NAME}" | |
paths: | |
- epydoc_html/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment