chickenhouse/._gitlab-ci.yml
Thomas Klaehn 16931c50ba gate: post open/close msg via telegram
Signed-off-by: Thomas Klaehn <thomas.klaehn@u-blox.com>
2018-08-27 11:27:50 +02:00

28 lines
561 B
YAML

before_script:
- "echo $CI_BUILD_ID"
- "echo $CI_BUILD_REF_NAME"
stages:
- test
- release
tests:
stage: test
script:
- "python scripts/pylint_wrapper.py -s gate_guard -s tests"
- "nosetests --with-coverage --cover-package=gate_guard --cover-xml"
- "nosetests --with-xunit tests/unittests/"
- "sonar-runner"
releases:
stage: release
script:
- "python scripts/create_release_script.py"
- "python setup.py sdist"
- "scripts/deploy_release.sh"
only:
- /^[0-9]{1,}.[0-9]{1,}.[0-9]{1,}$/
except:
- branches