-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
56 lines (49 loc) · 1.92 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
dist: trusty
sudo: false
language: rust
cache: cargo
rust:
- stable
- beta
- nightly
env:
global:
- FFMPEG_VERSION="3.3"
- RUST_FFMPEG_PREFIX="${TRAVIS_BUILD_DIR}/ffmpeg"
- LD_LIBRARY_PATH="${RUST_FFMPEG_PREFIX}/lib:${LD_LIBRARY_PATH}"
- MAKEFLAGS="-j 2"
# override the default `--features unstable` used for the nightly branch (optional)
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
- secure: W0FFp6RhCmvjwy/w+HEWSVUkczswel515xBRwDcwvLYLjU/XyOLRc3mZR+CH1JCcbPVIZTcKb5YliTQvrWbIaMP//Xxzt+dNsVU37OF3XayXmYSWiHI45A5nY+K1T5eySqYq7mM4s9/RZACShQgv64x9QQRpVGAQRbxQCZmcnyQwhVWz2WFyeGorw+ILtqlQcef9VGJl2pyPrRCO8ZtqKRB9nrWxn9U9A6YiAxMY0Ype12PUTmBF7yUj1tuW0N5Fv9T69nv9j5+3hpH651zytiwzvRoUr0jsYhBJv3EjKW2cOf7uHkeA6k3iX5zjvN9YhLPsgJdWAmuvayXt4OX4jpConQlsULXmsRJ+/DJ2uUz+LK/5UMCgTz35gq0v5D7eoIV5M0iNFqfppUc5IlwvPmcPST41ZPrFfyHDSj6Wbquc2nM3S/f7YWRFjOPyfJDKyo+HDxsep/j0paJQ/3igHq3wiyse08pA8/dqqhnduSE8o5kztxQsPEuFhHU1gTcCuLqz7uCqJJxM07pQ+MLiYQ1VdHi3YiIzUHjrMz+u9+uUHl+6IANIN21+UVVigX+D+srzXzdIRx9KR+8/9FD48l9H0b54DS0NMOQlS9vmJW/udVsVRof3/ZKZqLPxw7b3LAbtv6mScKSfY1j3UPQ20Jy3HMh2p+o3wAkweebYrRo=
before_script:
- pip install 'travis-cargo<0.2' --user
- export PATH=$HOME/.local/bin:$PATH
- wget "http://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.bz2"
- tar xf "ffmpeg-${FFMPEG_VERSION}.tar.bz2"
- cd "ffmpeg-${FFMPEG_VERSION}"
- ./configure --prefix="${RUST_FFMPEG_PREFIX}" --enable-pic --enable-shared --enable-nonfree && make && make install
- cd ..
script:
- travis-cargo build
- travis-cargo test
# - travis-cargo bench
- travis-cargo --only beta doc
after_success:
- travis-cargo --only beta doc-upload
# - travis-cargo coveralls --no-sudo
addons:
apt:
sources:
- llvm-toolchain-trusty-3.9
# - trusty-media
packages:
- libclang1-3.9
- yasm
# - ffmpeg
# # Required for kcov
# - libcurl4-openssl-dev
# - libelf-dev
# - libdw-dev
matrix:
allow_failures:
- rust: nightly