forked from hackndev/zinc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
26 lines (26 loc) · 1.05 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
os:
- linux
dist: trusty
language: generic
before_install:
- sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded
- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 6D1D8367A3421AFB
- sudo apt-get update -o Dir::Etc::sourcelist="sources.list.d/terry_guo-gcc-arm-embedded-precise.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
- sudo apt-get install gcc-arm-none-eabi libcurl4-openssl-dev libelf-dev libdw-dev
- wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz && tar xzf master.tar.gz
- (mkdir kcov-master/build && cd kcov-master/build && cmake .. && make && make install DESTDIR=../tmp)
- export PATH=$PATH:~/.cargo/bin
- ./support/install-rustup.sh $RUST_TOOLCHAIN
script:
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(dirname `rustup which rustc`)/../lib
- ./support/build-jenkins.sh
env:
global:
- RUST_TOOLCHAIN=nightly-2016-09-17
matrix:
- PLATFORM=native
- PLATFORM=lpc11xx
- PLATFORM=lpc17xx
- PLATFORM=k20
- PLATFORM=stm32f4
- PLATFORM=stm32l1