gopkg.in/zumata/godep.v14@v14.0.0-20151008182512-99082d62f381/.travis.yml (about)

     1  language: go
     2  
     3  go: 1.4.2
     4  
     5  script:
     6      # Godep's unit tests run git, and git complains
     7      # if we don't set these config parameters.
     8      # We put dummy values here because they don't matter.
     9      - git config --global user.email "you@example.com"
    10      - git config --global user.name "Your Name"
    11  
    12      - test -z "$(go fmt)"
    13      - go vet
    14      - go test -v
    15      - go test -v -race
    16      - test -z "$(goimports -l .)"
    17  
    18  before_install:
    19      - go get golang.org/x/tools/cmd/vet golang.org/x/tools/cmd/goimports