aboutsummaryrefslogtreecommitdiff
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-13 22:05:58 +0000
commit071e9b56b1c573a77f8852f98f7a44cf9214e9bb (patch)
tree5b470a1cba99bb279ff463dce827ddcc370f6b91
parentb47249e0bb6a8ef0f29f775352d1238b7133b938 (diff)
downloadtor-071e9b56b1c573a77f8852f98f7a44cf9214e9bb.tar.gz
tor-071e9b56b1c573a77f8852f98f7a44cf9214e9bb.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.
-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