~samwhited/xmpp

ref: b86d742779b429a03b40e82e67fe290d9ff6dd33 xmpp/.builds/freebsd.yml -rw-r--r-- 504 bytes
b86d7427Sam Whited examples/echobot: ignore gosec false positive 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
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 .)" ]

      # This will modify go.mod, so do it last.
      go run golang.org/x/lint/golint ./...