You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
663 B

8 years ago
  1. os: linux
  2. dist: bionic
  3. language: go
  4. go:
  5. - 1.14
  6. install:
  7. - echo 'deb http://archive.ubuntu.com/ubuntu/ focal universe' | sudo tee -a /etc/apt/sources.list
  8. - sudo apt-get update
  9. - sudo apt-get -y install libolm3 libolm-dev
  10. - go get golang.org/x/lint/golint
  11. - go get github.com/fzipp/gocyclo
  12. script: go build github.com/matrix-org/go-neb && ./hooks/pre-commit
  13. notifications:
  14. webhooks:
  15. urls:
  16. - "https://scalar.vector.im/api/neb/services/hooks/dHJhdmlzLWNpLyU0MGtlZ2FuJTNBbWF0cml4Lm9yZy8lMjFhWmthbkFuV0VkeGNSSVFrV24lM0FtYXRyaXgub3Jn"
  17. on_success: change # always|never|change
  18. on_failure: always
  19. on_start: never