~ruther/avr-device

b68208791895b6960a8912e227acb5e059bf04ad — Rahix 4 years ago 4a04eb1
ci: Use latest version of svd2rust

The latest git version of svd2rust contains some important fixes that we
depend on.  Use it instead of the latest version from crates.io.

Signed-off-by: Rahix <rahix@rahix.de>
1 files changed, 5 insertions(+), 1 deletions(-)

M .travis.yml
M .travis.yml => .travis.yml +5 -1
@@ 7,6 7,7 @@ cache:
  pip: true
  directories:
    - /opt/pyenv
    - ~/svd2rust

install:
  - pyenv install 3.6.3


@@ 14,7 15,10 @@ install:
  - python3 -c "__import__('svdtools')" || pip3 install --user svdtools
  - rustup component add rustfmt
  - cargo install form || true
  - cargo install svd2rust || true
  # TODO: Hack to use the latest version of svd2rust
  # - cargo install svd2rust || true
  - ! test -d svd2rust || (mkdir svd2rust && cd svd2rust && git init && git remote add origin https://github.com/rust-embedded/svd2rust.git)
  - (cd svd2rust && git fetch origin 56be78729279eeebef65110c13be8d96c0b9270f && git checkout FETCH_HEAD && cargo install --path .)
  - cargo install atdf2svd || true

script:

Do not follow this link