forked from xiph/rav1e
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (34 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
language: rust
addons:
apt:
packages: binutils-dev libcurl4-openssl-dev zlib1g-dev libdw-dev libiberty-dev
before_install:
- wget -O cmake.sh https://cmake.org/files/v3.10/cmake-3.10.2-Linux-x86_64.sh
- sudo sh cmake.sh --skip-license --exclude-subdir --prefix=/usr
- sudo rm -fR /usr/local/cmake*
- hash -r
- which cmake
- cmake --version
- wget https://www.nasm.us/pub/nasm/releasebuilds/2.13.03/nasm-2.13.03.tar.xz
- tar -xvf nasm-2.13.03.tar.xz
- cd nasm-2.13.03
- ./configure
- make
- sudo make install
- nasm --version
- cd ..
- wget -O kcov.tar.gz https://github.com/SimonKagstrom/kcov/archive/v36.tar.gz
- tar -xvf kcov.tar.gz
- cd kcov-36
- mkdir .build && cd .build
- cmake .. && make && sudo make install
- kcov --version
- cargo install cargo-kcov
script:
- |
cargo build --verbose &&
cargo test --verbose &&
cargo test --verbose --release --features=decode_test -- --ignored &&
cargo bench --verbose &&
cargo doc --verbose &&
cargo kcov --coveralls --features=decode_test -- --verify --exclude-pattern=$HOME/.cargo,aom_build,.h