diff --git a/.drone.yml b/.drone.yml index 7db1d95..fe85d4a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: diff --git a/testing/torrc b/testing/torrc new file mode 100644 index 0000000..513c094 --- /dev/null +++ b/testing/torrc @@ -0,0 +1,5 @@ +SOCKSPort 9050 +ControlPort 9051 +CookieAuthentication 0 +# Needed for integ tests +RunAsDaemon 1 \ No newline at end of file