~samwhited/xmpp

ref: 07c0fcc4e5ab13995ab52449e7ddc695dbe48b7d xmpp/.builds/test.yml -rw-r--r-- 498 bytes
07c0fcc4Sam Whited .builds: split testing and validation builds 6 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://git.sr.ht/~samwhited/xmpp
tasks:
  - setup: |
      go version
      go env

      echo 'export PATH=$(go env GOPATH)/bin:$PATH' >> ~/.buildenv
  - stable: |
      cd xmpp/
      go test -v -cover ./...
  - examples: |
      cd xmpp/examples/
      for d in ./*/; do
        pushd $d
        go build
        popd
      done
  - tip: |
      go get golang.org/dl/gotip
      gotip download
      cd xmpp/
      gotip test -v -cover ./...