[tor-commits] [bridgedb/develop] Start BridgeDB in before_script section of .travis.yml.
isis at torproject.org
isis at torproject.org
Wed Aug 13 00:41:26 UTC 2014
commit d4d753f29cdda65861a60a15285c13186f6ac1c6
Author: Isis Lovecruft <isis at torproject.org>
Date: Thu Aug 7 01:11:36 2014 +0000
Start BridgeDB in before_script section of .travis.yml.
---
.travis.yml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index 71cbb9a..7374fa7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -53,6 +53,16 @@ install:
- pip install -q --no-use-wheel Twisted==$TWISTED_VERSION pyOpenSSL==$PYOPENSSL_VERSION
- make install
+# Start a BridgeDB instance before running the tests:
+before_script:
+ - mkdir run
+ - cp -t run bridgedb.conf
+ - leekspin -n 100
+ - cp -t run networkstatus-bridges cached-extrainfo* bridge-descriptors
+ - ./scripts/make-ssl-cert
+ - cp -t run privkey.pem cert
+ - bridgedb -r run &
+
script:
- make coverage-test
More information about the tor-commits
mailing list