~ruther/avr-device

ref: 0c0ed043c2f4f6f6c1420d6586b965d7bf44dd91 avr-device/.travis.yml -rw-r--r-- 827 bytes
0c0ed043 — Rahix ci: Attempt building multple chips at once as well 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
39
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 two together
    - CHIP=atmega32u4,attiny85
    # Check building all at once
    - CHIP=atmega1280,atmega8,atmega328p,atmega32u4,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