This commit is contained in:
Виктор Гладких 2019-10-23 11:07:01 +03:00
parent dd7a578a12
commit cddab519e4

View File

@ -2,21 +2,21 @@ image: docker:latest
stages: stages:
- build - build
- test # - test
# - deploy # - deploy
- clean # - clean
#before_script: #before_script:
# - sudo apt install python python-dev py-pip gcc libc-dev libffi-dev openssl-dev make # - sudo apt install python python-dev py-pip gcc libc-dev libffi-dev openssl-dev make
## - apk add --update python python-dev py-pip gcc libc-dev libffi-dev openssl-dev make ## - apk add --update python python-dev py-pip gcc libc-dev libffi-dev openssl-dev make
# - pip install docker-compose # - pip install docker-compose
clean: #clean:
stage: clean # stage: clean
script: # script:
- docker-compose -f compose-ci.yml stop # - docker-compose -f compose-ci.yml stop
- docker-compose -f compose-ci.yml rm --force gm_app # - docker-compose -f compose-ci.yml rm --force gm_app
when: always # when: always
buid: buid:
@ -27,11 +27,11 @@ buid:
when: always when: always
test: #test:
stage: test # stage: test
script: # script:
- docker-compose -f compose-ci.yml run agro python manage.py test -v 3 --noinput # - docker-compose -f compose-ci.yml run agro python manage.py test -v 3 --noinput
when: always # when: always
#clean: #clean: