CI: Change the local DoH port, run go tests, enable -race

This commit is contained in:
Frank Denis 2019-12-17 23:48:01 +01:00
parent 3fce30d7a5
commit 3ec6a814c2
2 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#! /bin/sh
DNS_PORT=5300
HTTP_PORT=3000
HTTP_PORT=3053
TEST_COUNT=0
exec 2>error.log
@ -24,7 +24,8 @@ rm -f blocked.log ip-blocked.log query.log nx.log whitelisted.log
t || (
cd ../dnscrypt-proxy
go build -mod vendor
go test -mod vendor
go build -mod vendor -race
) || fail
section

View File

@ -12,7 +12,7 @@ cloaking_rules = 'cloaking-rules.txt'
cache = true
[local_doh]
listen_addresses = ['127.0.0.1:3000']
listen_addresses = ['127.0.0.1:3053']
cert_file = "../dnscrypt-proxy/localhost.pem"
cert_key_file = "../dnscrypt-proxy/localhost.pem"