This repository was archived by the owner on Jul 6, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -3,18 +3,22 @@ rust: nightly
3
3
before_install :
4
4
- sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded
5
5
- 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"
6
- install :
7
- - sudo apt-get install gcc-arm-none-eabi
6
+ - sudo apt-get install gcc-arm-none-eabi libcurl4-openssl-dev libelf-dev libdw-dev
7
+ - wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz && tar xzf master.tar.gz
8
+ - (mkdir kcov-master/build && cd kcov-master/build && cmake .. && make && make install DESTDIR=../tmp)
8
9
script :
9
10
- ./configure --host=arm-none-eabi
10
11
- cargo build --target=$TARGET --verbose --features mcu_$PLATFORM
11
12
- ./support/build-examples.sh
12
13
after_script :
13
14
- cargo test --lib --verbose
14
15
- (cd ./ioreg; cargo build --verbose; cargo test --verbose)
16
+ - (kcov-master/tmp/usr/local/bin/kcov --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo,ioreg/tests target/kcov ioreg/target/debug/test-*)
15
17
- (cd ./platformtree; cargo build --verbose; cargo test --verbose)
16
18
- (cd ./macro_platformtree; cargo build --verbose; cargo test --verbose)
17
19
- (cd ./macro_zinc; cargo test --verbose)
20
+ - (kcov-master/tmp/usr/local/bin/kcov --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo target/kcov target/debug/zinc-*)
21
+
18
22
env :
19
23
matrix :
20
24
- PLATFORM=lpc17xx
You can’t perform that action at this time.
0 commit comments