| 1 | image: archlinux |
| 2 | packages: |
| 3 | - go |
| 4 | sources: |
| 5 | - https://github.com/go-ap/activitypub |
| 6 | secrets: |
| 7 | - b8faddab-aa0a-442c-96af-ead35b021146 |
| 8 | environment: |
| 9 | GO111MODULE: 'on' |
| 10 | tasks: |
| 11 | - tests: | |
| 12 | cd activitypub && make test |
| 13 | - coverage: | |
| 14 | set -a +x |
| 15 | cd activitypub |
| 16 | git switch -C master origin/master |
| 17 | make coverage |
| 18 | go run github.com/mattn/goveralls@latest -flagname unit-tests -service=${CI_NAME} -coverprofile activitypub.coverprofile -repotokenfile ~/.coveralls.tok |