[tor-commits] [ooni-probe/master] Add travis-ci build script.

isis at torproject.org isis at torproject.org
Tue Mar 12 02:28:27 UTC 2013


commit 06d552c1c50974e17d58e91b173385653a7e2f9c
Author: Arturo Filastò <art at fuffa.org>
Date:   Mon Mar 11 21:13:11 2013 +0100

    Add travis-ci build script.
    (cherry picked from commit cfe357a546669c3ca70ee1f65dbc5034c2be4760)
---
 .travis.yml |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index e10e45b..e2b5e29 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,6 @@
 language: python
+before_install:
+  - sudo apt-get install tor
 python:
   - "3.3"
   - "2.7"
@@ -6,4 +8,10 @@ python:
 # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
 install: pip install -r requirements.txt --use-mirrors && cp ooniprobe.conf.sample ooniprobe.conf
 # command to run tests, e.g. python setup.py test
-script:  bin/ooniprobe nettest/blocking/tcpconnect.py -f example_inputs/alexa-top-1k.txt
+script:
+  - python setup.py install
+  # To be activated after merge of PR#64
+  #  - trial ooni
+  - cp ooniprobe.conf.sample ooniprobe.conf
+  - sh scripts/before_i_commit.sh
+  - bin/ooniprobe nettest/blocking/tcpconnect.py -f example_inputs/alexa-top-1k.txt
\ No newline at end of file





More information about the tor-commits mailing list