moonfire-nvr/.travis.yml
Scott Lamb 071be03c6f update most deps, notably including reqwest
Fixes #60

The reqwest dependency is significant because the old version required
an old version of openssl, complicating compilation on newer platforms.
reqwest also pulled in old/duplicate versions of hyper, tokio, etc.
Nice to drop a lot of that cruft.

I left rusqlite and uuid alone because they had breaking changes I
didn't want to mess with at the moment.

Bumped the minimum Rust version to 1.30.0, as required by the
new encoding_rs crate (and perhaps other things).
2018-11-20 09:32:55 -08:00

50 lines
969 B
YAML

dist: trusty
sudo: required
addons:
apt:
packages:
- build-essential
- libncurses5-dev
- libncursesw5-dev
- libsqlite3-dev
- libssl-dev
- pkg-config
- yasm
matrix:
include:
- language: rust
rust: stable
env: FFMPEG_VERSION=3.4.4
install:
- ci/install-ffmpeg.sh
script:
- ci/script-rust.sh
- language: rust
rust: nightly
env: FFMPEG_VERSION=3.4.4
install:
- ci/install-ffmpeg.sh
script:
- ci/script-rust.sh
- language: rust
rust: 1.30.0
env: FFMPEG_VERSION=3.4.4
install:
- ci/install-ffmpeg.sh
script:
- ci/script-rust.sh
- language: node_js
node_js: "8"
script:
- yarn
- yarn build
- node_modules/eslint/bin/eslint.js ui-src
allow_failures:
- rust: nightly
cache:
cargo: true
yarn: true
directories:
- ffmpeg-3.4.4
timeout: 600