init
This commit is contained in:
20
.travis.yml
Normal file
20
.travis.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- '12'
|
||||
services:
|
||||
- mongodb
|
||||
cache: yarn
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
env:
|
||||
global:
|
||||
- PORT=3000
|
||||
- MONGODB_URL=mongodb://localhost:27017/node-boilerplate
|
||||
- JWT_SECRET=thisisasamplesecret
|
||||
- JWT_ACCESS_EXPIRATION_MINUTES=30
|
||||
- JWT_REFRESH_EXPIRATION_DAYS=30
|
||||
script:
|
||||
- yarn lint
|
||||
- yarn test
|
||||
after_success: yarn coverage:coveralls
|
||||
Reference in New Issue
Block a user