updated .gitlab-ci.yml

This commit is contained in:
adphi 2019-07-14 16:06:50 +02:00
parent 6deeb69b90
commit a9c13d5422

View File

@ -4,14 +4,9 @@ stages:
- test - test
before_script: before_script:
- go get -u golang.org/x/lint/golint
- go get -u github.com/kardianos/govendor
- mkdir -p /go/src/gitlab.bertha.cloud/partitio/Nextcloud-Partitio - mkdir -p /go/src/gitlab.bertha.cloud/partitio/Nextcloud-Partitio
- cp -r $CI_PROJECT_DIR /go/src/gitlab.bertha.cloud/partitio/Nextcloud-Partitio - cp -r $CI_PROJECT_DIR /go/src/gitlab.bertha.cloud/partitio/Nextcloud-Partitio
- cd /go/src/gitlab.bertha.cloud/partitio/Nextcloud-Partitio/gonextcloud - cd /go/src/gitlab.bertha.cloud/partitio/Nextcloud-Partitio/gonextcloud
#- sed -i -e 's/$NEXTCLOUD_URL/'${NEXTCLOUD_URL//\//\\/}'/g' config.yml
#- sed -i -e 's/$NEXTCLOUD_PASSWORD/'${NEXTCLOUD_PASSWORD}'/g' config.yml
#- sed -i -e 's/$NEXTCLOUD_EMAIL/'${NEXTCLOUD_EMAIL}'/g' config.yml
- make dep - make dep
unit_tests: unit_tests:
@ -40,4 +35,5 @@ lint_code:
tags: tags:
- docker - docker
script: script:
- go get -u golang.org/x/lint/golint
- make lint - make lint