-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (31 loc) · 874 Bytes
/
.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
sudo: false
language: rust
env:
- RUSTUP_TOOLCHAIN=nightly-2018-01-05
cache:
cargo: true
directories:
- $HOME/gcc-arm-none-eabi-6_2-2016q4
- $HOME/uncrustify-uncrustify-0.65
- $HOME/local_cargo
os:
- linux
# If you change this, you must also change Getting_Started.md, Makefile.common,
# and Vagrantfile.
rust:
- nightly-2018-01-05
before_install:
- ./.travis-install-gcc
- export PATH="$PATH:$HOME/gcc-arm-none-eabi-6_2-2016q4/bin"
- export PATH="$PATH:$HOME/uncrustify-uncrustify-0.65/build"
before_script:
- (cargo install xargo || true)
- tools/install_cargo_fmt.sh
- npm install -g markdown-toc
script:
- export PATH=$HOME/.cargo/bin:$PATH
- tools/run_cargo_fmt.sh diff
- make allboards
- pushd userland/examples; ./build_all.sh || exit; popd
- pushd userland/examples; ./format_all.sh || exit; popd
- tools/toc.sh