mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2024-12-14 22:54:18 +01:00
21 lines
415 B
YAML
21 lines
415 B
YAML
|
language: go
|
||
|
sudo: false
|
||
|
go:
|
||
|
- 1.9.x
|
||
|
- tip
|
||
|
|
||
|
env:
|
||
|
- TESTS="-race -v -bench=. -coverprofile=coverage.txt -covermode=atomic"
|
||
|
- TESTS="-race -v ./..."
|
||
|
|
||
|
before_install:
|
||
|
# don't use the miekg/dns when testing forks
|
||
|
- mkdir -p $GOPATH/src/github.com/miekg
|
||
|
- ln -s $TRAVIS_BUILD_DIR $GOPATH/src/github.com/miekg/ || true
|
||
|
|
||
|
script:
|
||
|
- go test $TESTS
|
||
|
|
||
|
after_success:
|
||
|
- bash <(curl -s https://codecov.io/bash)
|