mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-03-27 07:50:59 -04:00
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).
50 lines
969 B
YAML
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
|