KawAnime/.travis.yml

62 lines
1.3 KiB
YAML
Raw Normal View History

language: node_js
node_js: "12"
cache:
directories:
- $HOME/.cache/electron
- $HOME/.cache/electron-builder
2019-10-28 16:32:06 +00:00
sudo: required
jobs:
2019-06-14 11:28:07 +00:00
include:
-
os: osx
2020-01-16 12:27:05 +00:00
osx_image: xcode11.2
2019-06-14 11:28:07 +00:00
env:
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
2020-01-16 12:27:05 +00:00
addons:
homebrew:
packages: ['autoconf', 'automake', 'ffmpeg', 'freetype', 'fribidi',
'libass', 'libtool', 'little-cms2', 'luajit', 'nasm',
'pkg-config', 'python']
update: true
2019-06-14 12:19:19 +00:00
name: Mac
2019-10-28 16:32:06 +00:00
install:
2020-01-16 12:27:05 +00:00
- brew install mpv
- brew install ninja
2019-10-28 16:32:06 +00:00
- npm install
script:
- npm run lint
2019-07-03 20:38:34 +00:00
- npm run pack
# - npm run test
2019-06-14 11:28:07 +00:00
-
os: linux
2019-10-28 16:32:06 +00:00
dist: bionic
2019-06-14 11:41:05 +00:00
addons:
apt:
2019-10-28 16:32:06 +00:00
update: true
2019-06-14 11:41:05 +00:00
packages:
2019-06-14 11:45:58 +00:00
- g++-5
- gcc-5
2019-10-28 16:32:06 +00:00
- ninja-build
- libboost-system-dev
2020-01-16 00:10:42 +00:00
- libmpv1
- libavformat-dev
2019-06-14 11:45:58 +00:00
env: CC=gcc-5 CXX=g++-5
2019-06-14 12:19:19 +00:00
name: Linux
2019-08-20 13:57:24 +00:00
services:
- xvfb
2019-07-03 20:38:34 +00:00
before_script:
- "export DISPLAY=:99.0"
2019-10-28 16:32:06 +00:00
install:
- npm install
2019-06-14 11:28:07 +00:00
script:
- npm run lint
2019-07-03 20:38:34 +00:00
- npm run pack
- npm run test
2019-06-14 12:29:47 +00:00
notifications:
email: false