mirror of
https://github.com/ducbao414/win32.run.git
synced 2025-12-16 17:22:51 +09:00
init the awkward code
This commit is contained in:
22
static/html/jspaint/.travis.yml
Normal file
22
static/html/jspaint/.travis.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- 10
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
# Ubuntu 16+ does not install this dependency by default, so we need to install it ourselves
|
||||
- libgconf-2-4
|
||||
cache:
|
||||
# Caches $HOME/.npm when npm ci is default script command
|
||||
# Caches node_modules in all other cases
|
||||
npm: true
|
||||
directories:
|
||||
# we also need to cache folder with Cypress binary
|
||||
- ~/.cache
|
||||
install:
|
||||
- npm ci
|
||||
before_script:
|
||||
- npm run test:start-server &
|
||||
- sleep 3 # hopefully the server will be listening by then
|
||||
script:
|
||||
- npm run lint && npm run cy:run
|
||||
Reference in New Issue
Block a user