[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 06d552c1c50974e17d58e91b173385653a7e2f9c
Author: Arturo Filastò <art@xxxxxxxxx>
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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits