forked from xiph/rav1e
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (35 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
27
28
29
30
31
32
33
34
35
36
37
language: rust
dist: bionic
env:
- RUST_BACKTRACE=1
before_install:
- export DEPS_DIR="$TRAVIS_HOME/.local"
- export ARCH="`uname -m`"
- mkdir -p "$DEPS_DIR/bin"
- export PATH="$PATH:$DEPS_DIR/bin"
- source "$TRAVIS_BUILD_DIR/.travis/install-sccache.sh"
- export SCCACHE_CACHE_SIZE=200M
- export SCCACHE_DIR="$TRAVIS_HOME/.cache/sccache"
- bash "$TRAVIS_BUILD_DIR/.travis/install-aom.sh"
- bash "$TRAVIS_BUILD_DIR/.travis/install-dav1d.sh"
- cd "$TRAVIS_BUILD_DIR"
cache:
directories:
- $TRAVIS_HOME/.cache/sccache
- $TRAVIS_HOME/.local
after_script:
- sccache -s
jobs:
include:
- name: "Arm build and test"
rust: stable
arch: arm64
script:
- cargo test --workspace --features=decode_test,decode_test_dav1d,quick_test,capi --verbose
- name: "Ignored Tests (dav1d)"
rust: stable
arch: arm64
script:
- travis_wait 60 cargo test --workspace --release --features=decode_test_dav1d --verbose --color=always -- --color=always --ignored
env:
- CACHE_NAME=IGNORED_TESTS_DAV1D