mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-01-13 16:03:22 -05:00
8af7bca6c2
This doesn't take much advantage of async fns so far. For example, the with_{form,json}_body functions are still designed to be used with future combinators when it'd be more natural to call them from async fns now. But it's a start. Similarly, this still uses the old version of reqwest. Small steps. Requires Rust 1.40 now. (1.39 is a requirement of async, and 1.40 is a requirement of http-serve 0.2.0.)
47 lines
899 B
YAML
47 lines
899 B
YAML
dist: bionic
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- build-essential
|
|
- libavcodec-dev
|
|
- libavformat-dev
|
|
- libavutil-dev
|
|
- libncurses5-dev
|
|
- libncursesw5-dev
|
|
- libsqlite3-dev
|
|
- libssl-dev
|
|
- pkgconf
|
|
- yasm
|
|
matrix:
|
|
include:
|
|
- language: rust
|
|
rust: stable
|
|
script:
|
|
- ci/script-rust.sh
|
|
- language: rust
|
|
rust: nightly
|
|
script:
|
|
- ci/script-rust.sh
|
|
- language: rust
|
|
rust: 1.40.0
|
|
script:
|
|
- ci/script-rust.sh
|
|
- language: node_js
|
|
node_js: "node"
|
|
script:
|
|
- yarn
|
|
- yarn build
|
|
- node_modules/eslint/bin/eslint.js ui-src
|
|
- 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
|
|
timeout: 600
|