moonfire-nvr/.travis.yml
Scott Lamb 92c532db3e upgrade minimum nodejs version, yarn dev deps
Looks like I basically had to do this to keep up. With nodejs version 12
(current LTS), the version of fsevents I installed wouldn't build. A
"yarn upgrade" by itself resulted in a new problem as described in #69.
Conversely, the new versions don't install with nodejs 8. So I bit the
bullet and upgraded all the dev dependency stuff and the nodejs at once.
nodejs 10 seems capable of running either the old or new, fwiw.

I'm a little sad that this seems to have made the UI bundle 5% larger.
Before, "yarn build" said 350 KiB. After, 369 KiB. A little bit in
several places. For example, jquery-ui.bundle.js went from 156 KiB (in
2 chunks) to 160 KiB (in 1 chunk) for some reason.
2020-03-01 21:57:51 -08:00

47 lines
903 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: "lts/*"
script:
- yarn
- yarn build
- node_modules/eslint/bin/eslint.js ui-src
allow_failures:
- rust: nightly
cache:
cargo: true
yarn: true
timeout: 600