Browse Source

Merge pull request #23 from caemor/test-codecov

test codecov
embedded-hal-1.0
Chris 7 years ago committed by GitHub
parent
commit
91b723d30e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 22
      .travis.yml

22
.travis.yml

@ -89,13 +89,27 @@ matrix:
#- env: TEST_DIR=examples/embedded_linux #- env: TEST_DIR=examples/embedded_linux
#- env: TEST_DIR=examples/f3_stm32f30x #- env: TEST_DIR=examples/f3_stm32f30x
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- cmake
- gcc
- binutils-dev
- libiberty-dev
before_install: before_install:
- set -e - set -e
- rustup self update - rustup self update
install: 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 override set nightly
- rustup target add thumbv7m-none-eabi - rustup target add thumbv7m-none-eabi
- rustup component add clippy-preview - rustup component add clippy-preview
@ -114,8 +128,10 @@ script:
# - cd examples/stm32f3discovery && cargo check --target thumbv7m-none-eabi && cd ../../ # - cd examples/stm32f3discovery && cargo check --target thumbv7m-none-eabi && cd ../../
#- cd ../f3_stm32f30x && cargo build #- cd ../f3_stm32f30x && cargo build
after_success: after_success:
#- cargo doc-upload # measure code coverage and upload to coveralls.io
- cargo coveralls
#- cargo doc-upload

Loading…
Cancel
Save