Use testing torrc for Drone
the build was successful Details

This commit is contained in:
Sarah Jamie Lewis 2020-06-25 14:06:31 -07:00
parent dcba0c1a1b
commit 94ce702214
2 changed files with 6 additions and 2 deletions

View File

@ -11,7 +11,6 @@ pipeline:
image: golang
commands:
- wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/tor/tor -P tmp/
- wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/tor/torrc -P tmp/
- chmod a+x tmp/tor
- export GO111MODULE=on
- go mod vendor
@ -33,7 +32,7 @@ pipeline:
image: golang
commands:
- export PATH=$PATH:/go/src/git.openprivacy.ca/openprivacy/connectivity
- ./tmp/tor -f ./tmp/torrc
- ./tmp/tor -f ./testing/torrc
- sleep 15
- sh testing/tests.sh
notify-email:

5
testing/torrc Normal file
View File

@ -0,0 +1,5 @@
SOCKSPort 9050
ControlPort 9051
CookieAuthentication 0
# Needed for integ tests
RunAsDaemon 1