forked from tock/libtock-c
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (35 loc) · 999 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
39
40
41
42
43
44
45
sudo: false
language: rust
# The language is a lie, but the C toolchain is available in the rust image. If
# we go the other way, then we have to slow builds by pulling in the rust
# toolchain manually.
# bors default configuration:
#branches:
# only:
# # This is where pull requests from "bors r+" are built.
# - staging
# # This is where pull requests from "bors try" are built.
# - trying
# # Uncomment this to enable building pull requests.
# - master
#
# Instead, I think we just want to disable to bors temp branch
branches:
except:
- staging.tmp
- trying.tmp
cache:
cargo: true
directories:
- $HOME/gcc-arm-none-eabi-9-2019-q4-major
os:
- linux
rust:
- stable
before_install:
- ./.travis-install-gcc
- export PATH="$PATH:$HOME/gcc-arm-none-eabi-9-2019-q4-major/bin"
- export PATH="$PATH:$HOME/uncrustify-uncrustify-0.65/build"
script:
- pushd examples; ./build_all.sh || exit; popd
- pushd examples; ./format_all.sh || exit; popd