From 981645e6f62b9eed8c985b1509826dae2a23f2b5 Mon Sep 17 00:00:00 2001 From: Andreas Mieke Date: Tue, 2 Feb 2016 20:52:38 +0100 Subject: [PATCH] Cleaning Gitlab CI --- .gitlab-ci.yml | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b228192..abe9553 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,13 +7,10 @@ before_script: - cp -R $(pwd)/* /tmp/goenv/src/git.1750studios.com/gronkhDE/gogronkh/ stages: - - dependencies - - libs - build - - cleanup -dependencies: - stage: dependencies +build: + stage: build script: - go get github.com/jinzhu/gorm - go get github.com/lib/pq @@ -23,32 +20,10 @@ dependencies: - go get github.com/robfig/cron - go get github.com/gin-gonic/gin - go get github.com/jinzhu/copier - -buildLibs: - stage: libs - script: - - go tool vet -composites=false -shadow=true ./config - go build ./config - - go tool vet -composites=false -shadow=true ./database - go build ./database - - go tool vet -composites=false -shadow=true ./image - go build ./image - - go tool vet -composites=false -shadow=true ./youtube - go build ./youtube - -parser: - stage: build - script: - - go tool vet -composites=false -shadow=true ./gparser - go build -o $GOPATH/bin/gparser ./gparser - -server: - stage: build - script: - - go tool vet -composites=false -shadow=true ./gserver - go build -o $GOPATH/bin/gserver ./gserver - -cleanup: - stage: cleanup - script: - rm -rf /tmp/goenv