-
Notifications
You must be signed in to change notification settings - Fork 132
/
.travis.yml
35 lines (31 loc) · 986 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
language: c
compiler: gcc
sudo: required
dist: trusty
install:
- uname -a
- sudo rm /var/lib/apt/lists/* -vfr
- sudo apt-get update -qq
- sudo apt-get install -qq cmake
- wget http://www.freddiechopin.info/en/download/category/11-bleeding-edge-toolchain?download=139%3Ableeding-edge-toolchain-151225-64-bit-linux -O /tmp/gcc-arm-none-eabi-5_3-151225-linux-x64.tar.xz
- tar -xf /tmp/gcc-arm-none-eabi-5_3-151225-linux-x64.tar.xz -C /tmp/
- export SAVED_PATH=$PATH
script:
- gcc --version
- make generic
- cd build_generic && make -j`nproc`
- cd ..
- export PATH=/tmp/gcc-arm-none-eabi-5_3-151225/bin:$SAVED_PATH
- arm-none-eabi-gcc --version
- make cortex-m4
- cd build_cortex-m4 && make -j`nproc`
- cd ..
- make cortex-m3
- cd build_cortex-m3 && make -j`nproc`
- cd ..
- make cortex-m0
- cd build_cortex-m0 && make -j`nproc`
- cd ..
notifications:
on_success: change
on_failure: always