server-json/node_modules/face-api.js/.travis.yml
2024-11-01 08:00:42 +00:00

25 lines
No EOL
522 B
YAML

sudo: required
language: node_js
node_js:
#- "node"
- "11"
- "10"
- "8"
# node 6 is not compatible with tfjs-node
# - "6"
env:
global:
- BACKEND_CPU=true EXCLUDE_UNCOMPRESSED=true
matrix:
- ENV=browser
- ENV=node
addons:
chrome: stable
install: npm install
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script:
- if [ $ENV == 'browser' ]; then npm run test-browser; fi
- if [ $ENV == 'node' ]; then npm run test-node; fi
- npm run build