gitlab.com/creichlin/pentaconta@v0.1.1-0.20170921154330-ffd669064217/.gitlab-ci.yml (about)

     1  
     2  variables:
     3    REPO_NAME: gitlab.com/creichlin/pentaconta
     4  
     5  stages:
     6    - test
     7    - build
     8    - deploy
     9  
    10  test-project:
    11    image: golang:1.8
    12    stage: test
    13    script:
    14      - go get github.com/tools/godep
    15      - mkdir -p $GOPATH/src/$REPO_NAME
    16      - mv $CI_PROJECT_DIR/* $GOPATH/src/$REPO_NAME
    17      - cd $GOPATH/src/$REPO_NAME
    18      - godep restore
    19      - go install gitlab.com/creichlin/pentaconta/testservices/...
    20      - godep go test ./...