-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
37 lines (31 loc) · 1.13 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
# travis build configuration for philip
matrix:
include:
- language: python
python:
- "3.5"
- "3.6"
install:
- "pip install flake8"
- "pip install codespell"
script:
- bash scripts/static_tests.sh -r -p
- language: c
sudo: false
addons:
apt:
packages:
- libc6-i386
- doxygen
- codespell
cache:
directories:
- $HOME/gcc-arm-none-eabi-7-2017-q4-major
install:
- export GCC_DIR=$HOME/gcc-arm-none-eabi-7-2017-q4-major
- export GCC_ARCHIVE=$HOME/gcc-arm-none-eabi-7-2017-q4-major-linux.tar.bz2
- export GCC_URL=https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2017q4/gcc-arm-none-eabi-7-2017-q4-major-linux.tar.bz2?revision=375265d4-e9b5-41c8-bf23-56cbe927e156?product=GNU%20Arm%20Embedded%20Toolchain,64-bit,,Linux,7-2017-q4-major
- if [ ! -e $GCC_DIR/bin/arm-none-eabi-gcc ]; then wget $GCC_URL -O $GCC_ARCHIVE; tar xfj $GCC_ARCHIVE -C $HOME; fi
- export PATH=$PATH:$GCC_DIR/bin
script:
- bash scripts/static_tests.sh -r -c