github.com/go-chef/chef@v0.30.1/wercker.yml (about)

     1  ---
     2  box: golang
     3  
     4  build:
     5    steps:
     6      - script:
     7          name: Get dependencies
     8          code: |
     9            go get -u github.com/ctdk/goiardi/chefcrypto
    10            go get -u github.com/ctdk/goiardi/authentication
    11            go get -u github.com/davecgh/go-spew/spew
    12            go get -u github.com/smartystreets/goconvey/convey
    13            go get -u github.com/mattn/goveralls
    14  
    15      - script:
    16          name: static
    17          code: |
    18            go fmt
    19            test -z "$(git status --porcelain)"
    20            # TODO: add metalinter
    21  
    22      # Using the gocov tool to test the exact package we want to test from GOPATH
    23      - script:
    24          name: Test
    25          code: |
    26            go test -covermode=count -coverprofile=profile.cov
    27  
    28    #    - script:
    29    #      name: Coveralls.io
    30    #      code: |
    31    #        goveralls -service='wercker.com' -repotoken=$COVERALLS_TOKEN -coverprofile=profile.cov
    32  
    33            #  after-steps:
    34            #    - wouter/irc-notify:
    35            #        server: irc.freenode.net
    36            #        port: 6667
    37            #        nickname: wercker
    38            #        channel: go-chef