1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/.travis.yml

21 lines
488 B
YAML
Raw Normal View History

2019-12-14 19:24:23 +08:00
dist: xenial
2016-03-13 23:03:07 +08:00
language: node_js
node_js:
2019-11-05 16:22:40 +08:00
- '12'
- '13'
- '14'
2019-01-28 04:10:01 +08:00
env:
2020-01-08 06:36:05 +08:00
- PORT=35000 MYSQL_HOST='localhost' MYSQL_PASSWORD='' MYSQL_USERNAME='root' MYSQL_DATABASE='pigallery2_test'
services:
- mysql
2018-03-31 03:30:30 +08:00
addons:
chrome: stable
before_install:
- # start your web application and listen on `localhost`
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
2019-12-14 19:24:23 +08:00
install:
2020-01-09 06:23:37 +08:00
- npm ci
- npm run lint
2019-12-14 19:24:23 +08:00
- npm run build
2020-01-09 06:23:37 +08:00
after_success: npm run coverage