moonfire-nvr/.travis.yml
Scott Lamb 1123adec5d try upgrading travis-ci setup to xenial
This no longer requires installing ffmpeg manually, so there should be
significantly less data to cache (faster runs). The build step itself
should also be faster when the cache is unavailable/stale.

Also sneak in a change from "pkg-config" to "pkgconf" package in the
scripts and travis CI. They didn't match the manual instructions; make
them all consistent. They both seem to work fine, but I gather pkgconf
is the newer thing. Its roadmap is here and notes that distros are
moving toward it.

https://github.com/pkgconf/pkgconf/wiki/Roadmap
2018-12-29 12:21:57 -06:00

47 lines
899 B
YAML

dist: xenial
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.31.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