~ruther/avr-device

ref: 4d281f5669b6a314dbe7e8ed60ba5f6b5612b3df avr-device/.travis.yml -rw-r--r-- 723 bytes
4d281f56 — Rahix ci: Use atdf2svd from crates.io 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
36
37
38
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
    # Check building all at once
    - CHIP=atmega1280,atmega8,atmega328p,atmega32u4,attiny85
    # Check building rt
    - CHIP=atmega32u4,attiny85,rt

install:
  - rustup component add rustfmt
  - cargo install form || true
  - cargo install svd2rust || true
  - cargo install atdf2svd || true
  - python3 -c "__import__('yaml')" || pip3 install --user pyyaml

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