Skip to content

Commit

Permalink
Retry GitLab CI
Browse files Browse the repository at this point in the history
deanishe committed Dec 8, 2018
1 parent 7524c23 commit f75894f
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
image: go:1.11

stages:
- test
- coverage

variables:
GO_PROJ: github.com/deanishe/awgo

before_script:
# - go get github.com/mattn/goveralls
# - go get github.com/schrej/godacov
- go get -u github.com/golang/dep/cmd/dep
- mkdir -p ${GOPATH}/src/${GO_PROJ}
- cp -r ${CI_PROJECT_DIR}/* ${GOPATH}/src/${GO_PROJ}/
- cd ${GOPATH}/src/${GO_PROJ}


test-awgo:
stage: test
- tags:
- mac
script:
- dep ensure
- ./run-tests.sh -ic ./...

coverage:
stage: coverage
- tags:
- mac
allow_failure: true
script:
- echo 'Coverage!'
# - $GOPATH/bin/goveralls -coverprofile=coverage.out -
# - $GOPATH/bin/godacov -t $CODACY_TOKEN -r ./coverage.out -c

0 comments on commit f75894f

Please sign in to comment.