~samwhited/xmpp

ref: e83c5c0fef88717afaf1583872fa55bdb5645f83 xmpp/.builds/freebsd.yml -rw-r--r-- 562 bytes
e83c5c0fSam Whited .builds: run gosec during linting phase 1 year, 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
image: freebsd/latest
packages:
  - go
sources:
  - https://github.com/mellium/xmpp.git
tasks:
  - info: |
      go version
      go env
  - test: |
      cd xmpp/
      go test -v -cover ./...
  - examples: |
      cd xmpp/examples/
      for d in ./*/; do
        pushd $d
        go build
        popd
      done
  - lint: |
      cd xmpp/
      go vet ./...
      gofmt -s -l . && [ -z "$(gofmt -s -l .)" ]

      cd .builds/
      go run -tags tools golang.org/x/lint/golint ../...
      go run -tags tools github.com/securego/gosec/cmd/gosec -quiet ../...