use latest stable version if aria2c (closes #8)

This commit is contained in:
Simon Bruder 2018-04-06 12:03:33 +00:00
parent 7e5b37183c
commit 0074a0394e
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -32,8 +32,9 @@ aria2c:
image: debian:stretch-slim
script:
- apt-get update
- apt-get -y install clang automake autoconf git make autopoint libtool pkg-config ccache
- git clone -q -b release-1.33.1 --depth 1 https://github.com/aria2/aria2 aria2
- apt-get -y install clang automake autoconf git make autopoint libtool pkg-config ccache wget jq
- aria2_tag="$(wget -q -O- https://api.github.com/repos/aria2/aria2/releases/latest|jq -r '.tag_name')"
- git clone -q -b "$aria2_tag" --depth 1 https://github.com/aria2/aria2 aria2
- export CCACHE_DIR=${PWD}/ccache
- cd aria2
- mkdir -p ccache