diff options
Diffstat (limited to 'other/travis/toxcore-linux-install')
-rwxr-xr-x | other/travis/toxcore-linux-install | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/other/travis/toxcore-linux-install b/other/travis/toxcore-linux-install deleted file mode 100755 index 19dccf64..00000000 --- a/other/travis/toxcore-linux-install +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | # Install cpp-coveralls to upload test coverage results. | ||
4 | pip install --user ndg-httpsclient urllib3[secure] cpp-coveralls | ||
5 | |||
6 | # Work around https://github.com/eddyxu/cpp-coveralls/issues/108 by manually | ||
7 | # installing the pyOpenSSL module and injecting it into urllib3 as per | ||
8 | # https://urllib3.readthedocs.io/en/latest/user-guide.html#ssl-py2 | ||
9 | sed -i -e '/^import sys$/a import urllib3.contrib.pyopenssl\nurllib3.contrib.pyopenssl.inject_into_urllib3()' `which coveralls` | ||
10 | |||
11 | # Install astyle (version in ubuntu-precise too old). | ||
12 | [ -f $ASTYLE ] || { | ||
13 | wget -O ../astyle.tar.gz https://deb.debian.org/debian/pool/main/a/astyle/astyle_2.06.orig.tar.gz | ||
14 | tar -xf ../astyle.tar.gz -C $CACHE_DIR | ||
15 | make -C $CACHE_DIR/astyle/build/gcc -j$NPROC | ||
16 | } | ||
17 | |||
18 | # Install libsodium (not in ubuntu-precise). | ||
19 | [ -f $CACHE_DIR/lib/libsodium.a ] || { | ||
20 | git clone --depth=1 --branch=stable https://github.com/jedisct1/libsodium ../libsodium | ||
21 | cd ../libsodium # pushd | ||
22 | ./autogen.sh | ||
23 | ./configure --prefix=$CACHE_DIR | ||
24 | make install -j$NPROC | ||
25 | cd - # popd | ||
26 | } | ||