-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
59 lines (50 loc) · 1.04 KB
/
.travis.yml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
language: rust
addons:
apt:
packages:
- pandoc
- libxml2-utils
matrix:
include:
- env: TARGET=docs
script:
- find . -name '*.md' -print0 | xargs -0 mdcheckr
- env: TARGET=binary
rust: stable
script:
- cd binary
- cargo check --target thumbv7em-none-eabihf
- env: TARGET=firmware
rust: stable
script:
- cd firmware
- cargo check --target thumbv7em-none-eabihf
- cargo test
- env: TARGET=board
rust: stable
script:
- cd board
- cargo check --target thumbv7em-none-eabihf
- cargo test
- env: TARGET=utils
rust: stable
script:
- cd utils
- cargo check --target thumbv7em-none-eabihf
- cargo test
before_install: set -e
install:
- bash ci/install.sh
- export PATH="$PATH:$PWD/mdcheck"
after_script: set +e
cache: cargo
before_cache:
- chmod -R a+r $HOME/.cargo
branches:
only:
- master
- staging
- trying
notifications:
email:
on_success: never