From d92bf9f33afb6a3e5a0f22bc2bbc16053c07ed09 Mon Sep 17 00:00:00 2001 From: Aleh Zasypkin Date: Wed, 27 Nov 2019 00:21:26 +0100 Subject: [PATCH] [ci] workaround Cargo bug https://github.com/rust-lang/cargo/issues/5015. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 800505c..1a61e4e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,7 +32,7 @@ script: - cd sw/cli - if [[ $TRAVIS_OS_NAME == 'linux' ]]; then PKG_CONFIG_PATH=$HOME/local/lib/pkgconfig LD_LIBRARY_PATH=$HOME/local/lib:$LD_LIBRARY_PATH cargo build; fi - if [[ $TRAVIS_OS_NAME == 'osx' ]]; then cargo build; fi -- cd ../firmware +- cd ../firmware/bin - if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then cargo build --target thumbv6m-none-eabi --release --features nightly; fi - if [[ "$TRAVIS_RUST_VERSION" == "stable" ]]; then cargo build --target thumbv6m-none-eabi --release; fi - cargo test --package kroneum-api