moonfire-nvr/.travis.yml
Scott Lamb 496f7d7e3a upgrade some JS deps to work with node 11
Fixes #62

* added travis config for latest node as well as 8.

* ran "yarn upgrade -P webpack-dev-server", which caused the upath
  dependency to be upgraded. I arrived at this by inspecting yarn.lock
  for the things depending on upack, along with some trial and error.
  ("yarn upgrade -P chokidar" was less successful.)
2018-11-20 11:06:20 -08:00

56 lines
1.1 KiB
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: "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
directories:
- ffmpeg-3.4.4
timeout: 600