[tor-commits] [oonib/master] Add .travis.yml file.

isis at torproject.org isis at torproject.org
Sat May 4 16:10:28 UTC 2013


commit 8280a4a56a3eaf93de3569fd6999ddf61e7bf517
Author: Isis Lovecruft <isis at torproject.org>
Date:   Fri Apr 19 23:06:44 2013 +0000

    Add .travis.yml file.
    
     * travis-lint reports:
       (oonib)∃!isisⒶwintermute:~/code/torproject/ooni-backend ∴ travis-lint
       Hooray, /home/isis/code/torproject/ooni-backend/.travis.yml seems to be solid!
       (oonib)∃!isisⒶwintermute:~/code/torproject/ooni-backend ∴ date
       Fri Apr 19 23:06:31 UTC 2013
---
 .travis.yml |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..6ab2862
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,17 @@
+language: python
+before_install:
+  - sudo apt-get install build-essential python-dev python-setuptools tor
+  - curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
+  - sudo python ./get-pip.py
+  - sudo update-alternatives --install /usr/bin/pip pip /usr/local/bin/pip 0
+python:
+  - "3.3"
+  - "2.7"
+  - "2.6"
+install:
+  - pip -I "https://pypi.python.org/packages/ --use-mirrors -r requirements.txt
+  - python setup.py install
+# command to run tests, e.g. python setup.py test
+script:
+  - cp ooniprobe.conf.example ooniprobe.conf
+  - bin/oonib
\ No newline at end of file





More information about the tor-commits mailing list