-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
34 lines (28 loc) · 969 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
language: c
compiler:
- clang
- gcc-4.8
- gcc-4.9
- gcc-5
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libc6-i386
- gcc-4.8
- gcc-4.9
- gcc-5
- qemu-user
- valgrind
cache: apt
before_install:
- curl --retry 10 --retry-max-time 120 -L "https://launchpad.net/gcc-arm-embedded/4.9/4.9-2015-q2-update/+download/gcc-arm-none-eabi-4_9-2015q2-20150609-linux.tar.bz2" | tar xfj -
- export TOOLCHAIN_PREFIX=$PWD/gcc-arm-none-eabi-4_9-2015q2
before_script: $TOOLCHAIN_PREFIX/bin/arm-none-eabi-gcc --version
script:
- mkdir examples/build && pushd examples/build
- cmake .. && make VERBOSE=1 && make test ARGS=-V
- popd
- mkdir examples/embedded/build && pushd examples/embedded/build
- cmake -DTOOLCHAIN_PREFIX=$TOOLCHAIN_PREFIX -DCMAKE_TOOLCHAIN_FILE=gcc_stm32.cmake .. && make VERBOSE=1 && make test ARGS=-V