diff --git a/.travis.yml b/.travis.yml index 47c96d5..055f401 100644 --- a/.travis.yml +++ b/.travis.yml @@ -89,13 +89,27 @@ matrix: #- env: TEST_DIR=examples/embedded_linux #- env: TEST_DIR=examples/f3_stm32f30x +addons: + apt: + packages: + - libcurl4-openssl-dev + - libelf-dev + - libdw-dev + - cmake + - gcc + - binutils-dev + - libiberty-dev + + before_install: - set -e - rustup self update install: - - cargo install cargo-travis || true + - cargo install cargo-update || echo "cargo-update already installed" + - cargo install cargo-travis || echo "cargo-travis already installed" + - cargo install-update -a # update outdated cached binaries - rustup override set nightly - rustup target add thumbv7m-none-eabi - rustup component add clippy-preview @@ -114,8 +128,10 @@ script: # - cd examples/stm32f3discovery && cargo check --target thumbv7m-none-eabi && cd ../../ #- cd ../f3_stm32f30x && cargo build -after_success: - #- cargo doc-upload +after_success: +# measure code coverage and upload to coveralls.io + - cargo coveralls +#- cargo doc-upload