forked from hackndev/zinc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
21 lines (21 loc) · 918 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
before_install:
- sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded
- 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"
install:
- sudo apt-get install gcc-arm-none-eabi
- curl --retry 3 --output rust.tgz
http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz
- tar xf rust.tgz
- (cd ./rust-nightly-x86_64-unknown-linux-gnu/; sudo ./install.sh)
- export LD_LIBRARY_PATH=/usr/local/lib
- (mkdir -p ./thirdparty; cd ./thirdparty; git clone --depth 50 https://github.com/rust-lang/rust)
- "(cd ./thirdparty/rust; git checkout `rustc --version|awk '{sub(/\\(/, \"\", $3); print $3}'`)"
before_script:
- rustc --version
script:
- rake build_all test
env:
matrix:
- PLATFORM=lpc17xx
- PLATFORM=stm32f4
- PLATFORM=k20