aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorPatrick O'Doherty <p@trickod.com>2017-07-02 14:28:52 -0700
committerIsis Lovecruft <isis@torproject.org>2017-07-17 21:32:05 +0000
commitc32e6d67302a3cbee87f6c8cb88d5a6a6c28b960 (patch)
tree13efe561ed6bbb4393ffbec5d9e2bba71bd81a3e /.travis.yml
parent52c1754ff6b7f181ab40d1f3148ed6a28d60cef5 (diff)
downloadtor-c32e6d67302a3cbee87f6c8cb88d5a6a6c28b960.tar.gz
tor-c32e6d67302a3cbee87f6c8cb88d5a6a6c28b960.zip
.travis.yml to run test suite
Installs dependencies (including rust) and runs the existing test suite. TODO: Introduce build matrix utilizing the rust toolchain to run test suites both with and without the rust components.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000000..cd520748e3
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,10 @@
+language: c
+sudo: enabled
+dist: trusty
+
+before_install:
+ - sudo apt-get -qq update
+ - sudo apt-get -y install libevent-dev libseccomp2 zlib1g-dev
+ - curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
+
+script: ./autogen.sh && ./configure --disable-asciidoc && make test