~ruther/avr-device

ref: b0abe893ed36425cfd63bbe5a9d0881bcee053cb avr-device/.travis.yml -rw-r--r-- 770 bytes
b0abe893 — Andrew Dona-Couch Add support for ATtiny88 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
28
29
30
31
32
33
34
35
36
37
38
language: rust
rust:
  - nightly-2020-07-12

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 RUSTUP_TOOLCHAIN=nightly-2020-07-12
  - echo $CHIP
  - cargo build --features $CHIP
Do not follow this link