1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00
pigallery2/.travis.yml

19 lines
470 B
YAML
Raw Normal View History

2019-12-14 12:24:23 +01:00
dist: xenial
2016-03-13 16:03:07 +01:00
language: node_js
node_js:
- '14'
2019-01-27 15:10:01 -05:00
env:
2020-01-07 23:36:05 +01:00
- PORT=35000 MYSQL_HOST='localhost' MYSQL_PASSWORD='' MYSQL_USERNAME='root' MYSQL_DATABASE='pigallery2_test'
services:
- mysql
2018-03-30 15:30:30 -04: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 12:24:23 +01:00
install:
2020-01-08 23:23:37 +01:00
- npm ci
2019-12-14 12:24:23 +01:00
- npm run build
- npm run lint
2020-01-08 23:23:37 +01:00
after_success: npm run coverage