You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
371 B
25 lines
371 B
1 month ago
|
language: node_js
|
||
|
node_js:
|
||
|
- 8
|
||
|
branches:
|
||
|
only:
|
||
|
- master
|
||
|
- next
|
||
|
services:
|
||
|
- redis-server
|
||
|
env:
|
||
|
global:
|
||
|
- "REDIS_HOST=127.0.0.1"
|
||
|
- "REDIS_PORT=6379"
|
||
|
cache:
|
||
|
directories:
|
||
|
- $HOME/.npm
|
||
|
install:
|
||
|
- npm i
|
||
|
sudo: required
|
||
|
after_success: npx codecov --file=./coverage/lcov.info
|
||
|
script: npm run test-all
|
||
|
|
||
|
before_install:
|
||
|
- npm i -g npm@5.10
|
||
|
- npm --version
|