~ruther/avr-device

ref: 0c63ac5cdcc8d6b0487e3e139d4dbafa4d8286e9 avr-device/.travis.yml -rw-r--r-- 826 bytes
0c63ac5c — Jan Paw Replace gen-intr-lut.sh sed hack with svdtools 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
language: rust
rust:
  - nightly-2020-10-25

cache:
  cargo: true
  pip: true
  directories:
    - /opt/pyenv
    - ~/svd2rust

install:
  - pyenv install 3.6.3
  - pyenv global 3.6.3
  - python3 -c "__import__('svdtools')" || pip3 install --user svdtools
  - rustup component add rustfmt
  - cargo install form || 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:
  - pyenv global 3.6.3
  - make RUSTUP_TOOLCHAIN=nightly-2020-10-25
  - cargo build --all-features
Do not follow this link