Code Repositories xandikos / 1fb21d6
Install cargo/rust locally, in the vdirsyncer directory. Jelmer Vernooń≥ 11 months ago
2 changed file(s) with 10 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
2222 - make coverage-litmus LITMUS_URL=https://www.xandikos.org/litmus-0.13.tar.gz
2323 - mv .coverage .coverage.litmus
2424 - if [ "$TRAVIS_PYTHON_VERSION" = "3.6" ]; then
25 PATH="$PATH:$HOME/.cargo/bin" make coverage-vdirsyncer;
25 make coverage-vdirsyncer;
2626 mv .coverage .coverage.vdirsyncer;
2727 fi
2828 - make coverage-caldavtester
2222 pushd ${REPO_DIR} && ${PYTHON} setup.py develop && popd
2323 fi
2424
25 if [ -z "${CARGO_HOME}" ]; then
26 export CARGO_HOME="$(readlink -f .)/cargo"
27 export RUSTUP_HOME="$(readlink -f .)/cargo"
28 fi
29 curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly --no-modify-path
30 . ${CARGO_HOME}/env
31 rustup update nightly
32
2533 # Add --ignore=tests/system/utils/test_main.py since it fails in travis,
2634 # and isn't testing anything relevant to Xandikos.
2735 make \
2836 COVERAGE=true \
2937 PYTEST_ARGS="${PYTEST_ARGS} tests/storage/dav/ --ignore=tests/system/utils/test_main.py" \
3038 DAV_SERVER=xandikos \
31 install-rust install-dev install-test test
39 install-dev install-test test