blob: 85e4724e973529f44346aa8c03fded1237cd80c1 (
plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
language: go
sudo: false
matrix:
fast_finish: true
include:
- go: 1.10.x
- go: 1.11.x
env: GO111MODULE=on
- go: 1.12.x
env: GO111MODULE=on
- go: 1.13.x
- go: master
env: GO111MODULE=on
git:
depth: 10
services:
- redis
- memcached
- mongodb
before_install:
- go get github.com/campoy/embedmd
install:
- if [[ "${GO111MODULE}" = "on" ]]; then go mod download; else go get -t -v .; fi
- if [[ "${GO111MODULE}" = "on" ]]; then export PATH="${GOPATH}/bin:${GOROOT}/bin:${PATH}"; fi
script:
- embedmd -d *.md
- go test -v -covermode=atomic -coverprofile=coverage.out ./...
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/acc2c57482e94b44f557
on_success: change
on_failure: always
on_start: false
|