correct yaml config for CI

This commit is contained in:
AleaJactaEst 2018-02-05 23:17:05 +01:00
parent 44a75cbcd4
commit ff53208007

View file

@ -23,8 +23,6 @@
stages: stages:
- build - build
- test - test
- staging
- production
## Build ## Build
linux_source_package: linux_source_package:
@ -38,6 +36,7 @@ linux_source_package:
- apt-get -y upgrade - apt-get -y upgrade
- apt-get install -y python3 python3-setuptools python3-virtualenv python3-stdeb python3-all python3-coverage python3-pep8 python3-sphinx python3-pip graphviz python3-bcrypt python3-wheel - apt-get install -y python3 python3-setuptools python3-virtualenv python3-stdeb python3-all python3-coverage python3-pep8 python3-sphinx python3-pip graphviz python3-bcrypt python3-wheel
- make sdist - make sdist
artifacts:
name: "khanat-$(echo $CI_BUILD_REF | head -c 7 )-$CI_PIPELINE_ID-pymanager-package-src" name: "khanat-$(echo $CI_BUILD_REF | head -c 7 )-$CI_PIPELINE_ID-pymanager-package-src"
paths: paths:
- dist - dist
@ -53,6 +52,7 @@ linux_package:
- apt-get -y upgrade - apt-get -y upgrade
- apt-get install -y python3 python3-setuptools python3-virtualenv python3-stdeb python3-all python3-coverage python3-pep8 python3-sphinx python3-pip graphviz python3-bcrypt python3-wheel - apt-get install -y python3 python3-setuptools python3-virtualenv python3-stdeb python3-all python3-coverage python3-pep8 python3-sphinx python3-pip graphviz python3-bcrypt python3-wheel
- make bdist - make bdist
artifacts:
name: "khanat-$(echo $CI_BUILD_REF | head -c 7 )-$CI_PIPELINE_ID-pymanager-package" name: "khanat-$(echo $CI_BUILD_REF | head -c 7 )-$CI_PIPELINE_ID-pymanager-package"
paths: paths:
- dist - dist