Code Repositories xandikos / 6f4ce92
Allow overriding litmus URL. Jelmer Vernooij a month ago
2 changed file(s) with 4 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
1818 - make style
1919 - make coverage
2020 - mv .coverage .coverage.unit
21 - make coverage-litmus
21 # Retrieve litmus from Debian server for now, since webdav.org is down.
22 - make coverage-litmus LITMUS_URL=http://http.debian.net/debian/pool/main/l/litmus/litmus_0.13.orig.tar.gz
2223 - mv .coverage .coverage.litmus
2324 - if [ "$TRAVIS_PYTHON_VERSION" = "3.6" ]; then
2425 make coverage-vdirsyncer;
88 fi
99 SRCPATH="$(dirname $(readlink -m $0))"
1010 VERSION=0.13
11 LITMUS_URL="${LITMUS_URL:-http://www.webdav.org/neon/litmus/litmus-${VERSION}.tar.gz}"
1112
1213 scratch=$(mktemp -d)
1314 function finish() {
1920 if [ -f "${SRCPATH}/litmus-${VERSION}.tar.gz" ]; then
2021 cp "${SRCPATH}/litmus-${VERSION}.tar.gz" .
2122 else
22 wget -O "litmus-${VERSION}.tar.gz" http://www.webdav.org/neon/litmus/litmus-${VERSION}.tar.gz
23 wget -O "litmus-${VERSION}.tar.gz" "${LITMUS_URL}"
2324 fi
2425 sha256sum ${SRCPATH}/litmus-${VERSION}.tar.gz.sha256sum
2526 tar xvfz litmus-${VERSION}.tar.gz