~ruther/avr-device

ref: dc45b3ccdc30e40d28368ab1a9554cedf8e5459f avr-device/.travis.yml -rw-r--r-- 668 bytes
dc45b3cc — Rahix Switch to a new design as outlined in #17 5 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
28
29
30
31
32
33
34
35
language: rust
rust:
  - nightly

cache:
  - cargo
  - directories:
      - $TRAVIS_BUILD_DIR/atdf2svd/

addons:
  apt:
    packages:
      - python3-pip
      - python3-dev

env:
  matrix:
    - CHIP=atmega1280
    - CHIP=atmega8
    - CHIP=atmega328p
    - CHIP=atmega32u4
    - CHIP=attiny85

install:
  - rustup component add rustfmt
  - cargo install form || true
  - cargo install svd2rust || true
  - test -f atdf2svd/Cargo.toml || git clone https://github.com/Rahix/atdf2svd
  - (cd atdf2svd/ && cargo install --path . || true)
  - python3 -c "__import__('yaml')" || pip3 install --user pyyaml

script:
  - make
  - echo $CHIP
  - cargo build --features $CHIP
Do not follow this link