]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
.travis.yml to run test suite
authorPatrick O'Doherty <p@trickod.com>
Sun, 2 Jul 2017 21:28:52 +0000 (14:28 -0700)
committerIsis Lovecruft <isis@torproject.org>
Thu, 13 Jul 2017 22:05:58 +0000 (22:05 +0000)
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.

.travis.yml [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..cd52074
--- /dev/null
@@ -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