2018-08-07 16:23:32 -04:00
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
2018-05-01 11:28:14 -04:00
|
|
|
language: rust
|
|
|
|
rust:
|
|
|
|
- stable
|
|
|
|
- nightly
|
2018-08-29 00:47:02 -04:00
|
|
|
- 1.27.0
|
2018-05-01 11:38:25 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- build-essential
|
|
|
|
- libncurses5-dev
|
|
|
|
- libncursesw5-dev
|
|
|
|
- libsqlite3-dev
|
|
|
|
- libssl-dev
|
|
|
|
- pkg-config
|
2018-08-07 16:23:32 -04:00
|
|
|
- yasm
|
2018-05-01 11:28:14 -04:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- rust: nightly
|
2018-08-31 00:13:28 -04:00
|
|
|
cache:
|
|
|
|
cargo: true
|
|
|
|
directories:
|
|
|
|
- ffmpeg-3.4.4
|
2018-08-31 03:01:30 -04:00
|
|
|
timeout: 600
|
2018-08-31 00:13:28 -04:00
|
|
|
install:
|
|
|
|
- test -f ffmpeg-3.4.4/configure || (wget https://ffmpeg.org/releases/ffmpeg-3.4.4.tar.xz && tar xf ffmpeg-3.4.4.tar.xz)
|
|
|
|
- pushd ffmpeg-3.4.4 && ./configure --enable-shared && make --jobs=2 && sudo make install --jobs=2&& sudo ldconfig && rm -f ffbuild/config.log && popd
|
2018-05-01 11:28:14 -04:00
|
|
|
script:
|
2018-08-31 00:13:28 -04:00
|
|
|
- cargo build --all
|
|
|
|
- cargo test --all
|
|
|
|
- 'if [ $TRAVIS_RUST_VERSION = nightly ]; then cargo bench --all; fi'
|