forked from Babody/STM_HAL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (33 loc) · 902 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
# use new docker environment
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- build-essential
- git
- libc6-i386
- g++-5
- gcc-5
# We use cpp for unit tests, and c for the main project.
language: cpp
compiler:
- gcc
before_install:
- curl --retry 10 --retry-max-time 120 -L "https://launchpad.net/gcc-arm-embedded/5.0/5-2015-q4-major/+download/gcc-arm-none-eabi-5_2-2015q4-20151219-linux.tar.bz2" | tar xfj -
install:
- export PATH=$PATH:$PWD/gcc-arm-none-eabi-5_2-2015q4/bin
- if [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5"; fi
before_script:
- arm-none-eabi-gcc --version
- gcc --version
script:
- cd project
- ./configure
- make test
- make clean
- make firmware
- make clean
- make debug_firmware
- make clean-all