image: archlinux
packages:
  - go
sources:
  - https://github.com/go-ap/activitypub
environment:
  GO111MODULE: 'on'
tasks:
  - tests: |
      cd activitypub
      make test
      make TEST_TARGET=./tests test
  - coverage: |
      set -a +x
      cd activitypub && make coverage
