forked from claziss/csibe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (36 loc) · 1.16 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
38
39
40
41
42
language: python
sudo: required
dist: trusty
matrix:
include:
# GCC-based compiler pass
- env:
- TOOLCHAINS="gcc-cortex-m0 gcc-cortex-m4"
# Clang-based compiler pass
- env:
- CC=clang
- CXX=clang++
- TOOLCHAINS="clang-cortex-m0 clang-cortex-m4"
before_script:
- wget http://llvm.org/releases/3.8.0/clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz
- tar xf clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz
- export DIR=`pwd`/clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-14.04/bin
- export PATH=$DIR:$PATH
- sudo update-alternatives --install /usr/bin/clang clang $DIR/clang 100
- sudo update-alternatives --set clang $DIR/clang
- sudo update-alternatives --install /usr/bin/clang++ clang++ $DIR/clang++ 100
- sudo update-alternatives --set clang++ $DIR/clang++
- sudo ln -s /usr/include/asm-generic /usr/include/asm
install:
- sudo apt-get install -y
cmake
g++
gcc-arm-none-eabi
libc6-dev
libc6-dev-i386
python
wget
script:
- python csibe.py native
- python csibe.py native CSiBE-v2.1.1 -w
- python csibe.py $TOOLCHAINS