mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-18 22:41:08 +00:00
98263a7de6
* start fixing up tests * fix up tests + automate with drone * fiddle with linting * messing about with drone.yml * some more fiddling * hmmm * add cache * add vendor directory * verbose * ci updates * update some little things * update sig
27 lines
No EOL
535 B
YAML
27 lines
No EOL
535 B
YAML
language: go
|
|
go:
|
|
- 1.13.4
|
|
- tip
|
|
matrix:
|
|
allow_failures:
|
|
- go: tip
|
|
|
|
notifications:
|
|
email:
|
|
recipients: dean.karn@gmail.com
|
|
on_success: change
|
|
on_failure: always
|
|
|
|
before_install:
|
|
- go install github.com/mattn/goveralls
|
|
|
|
# Only clone the most recent commit.
|
|
git:
|
|
depth: 1
|
|
|
|
script:
|
|
- go test -v -race -covermode=atomic -coverprofile=coverage.coverprofile ./...
|
|
|
|
after_success: |
|
|
[ $TRAVIS_GO_VERSION = 1.13.4 ] &&
|
|
goveralls -coverprofile=coverage.coverprofile -service travis-ci -repotoken $COVERALLS_TOKEN |