github.com/Richardknop/go-oauth2-server@v1.0.1/.travis.yml (about)

     1  ---
     2  language: go
     3  
     4  go:
     5    - 1.9.2
     6    - 1.8.5
     7  
     8  services:
     9    - docker
    10  
    11  install:
    12    - go get -u github.com/golang/lint/golint
    13    - go get -u github.com/FiloSottile/vendorcheck
    14    # Install gometalinter and certain linters
    15    - go get -u github.com/alecthomas/gometalinter
    16    - go get -u github.com/client9/misspell/cmd/misspell
    17    - go get -u github.com/gordonklaus/ineffassign
    18    - go get -u golang.org/x/tools/cmd/goimports
    19    - go get -u github.com/tsenart/deadcode
    20  
    21  before_script:
    22    - createuser --createdb go_oauth2_server
    23  
    24  script:
    25    - make lint
    26    - vendorcheck ./...
    27    - make ci
    28  
    29  after_script:
    30    - make golint
    31  
    32  after_success:
    33    - bash <(curl -s https://codecov.io/bash)