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