summaryrefslogtreecommitdiff
path: root/other/travis/hstox-install
diff options
context:
space:
mode:
Diffstat (limited to 'other/travis/hstox-install')
-rwxr-xr-xother/travis/hstox-install18
1 files changed, 7 insertions, 11 deletions
diff --git a/other/travis/hstox-install b/other/travis/hstox-install
index f9d0f7b6..fccae0be 100755
--- a/other/travis/hstox-install
+++ b/other/travis/hstox-install
@@ -8,16 +8,12 @@ cabal update
8# install. 8# install.
9cabal install happy 9cabal install happy
10 10
11# Fetch hstox. 11# Fetch hstox and msgpack-c.
12git clone --recursive --depth=1 https://github.com/TokTok/hstox ../hstox 12git clone --recursive --depth=1 https://github.com/TokTok/hs-toxcore ../hs-toxcore
13git clone --depth=1 https://github.com/msgpack/msgpack-c testing/hstox/msgpack-c
13 14
14# Delete all files in the cloned toxcore. 15# Install the hstox test runner.
15rm -rf ../hstox/test/toxcore/toxcore/toxcore 16(cd ../hs-toxcore && cabal install --disable-library-profiling)
16# Move the toxcore source files to the hstox test directory.
17# The reason we move source files instead of the whole git root directory is
18# that the travis scripts (like this one) need to remain in place.
19mv toxcore ../hstox/test/toxcore/toxcore
20 17
21# In the "install" step, we only run configure, which downloads the required 18# Install toxcore dependencies.
22# packages. In the "script" step we then build the actual code. 19. other/travis/toxcore-linux-install
23make -C ../hstox configure