generated from danielfsousa/express-rest-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
36 lines (29 loc) · 661 Bytes
/
.travis.yml
File metadata and controls
36 lines (29 loc) · 661 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: node_js
cache:
directories:
- ~/.npm
node_js:
- '8'
- '10'
- '12'
services:
- mongodb
git:
depth: 3
branches:
only:
- master
env:
global:
- NODE_ENV=test
- PORT=3000
- JWT_SECRET=bA2xcjpf8y5aSUFsNB2qN5yymUBSs6es3qHoFpGkec75RCeBb8cpKauGefw5qy4
- JWT_EXPIRATION_MINUTES=15
- MONGO_URI=mongodb://localhost/express-rest-es2017-boilerplate
- MONGO_URI_TESTS=mongodb://localhost/express-rest-es2017-boilerplate
- EMAIL_PORT=587
- EMAIL_HOST=smtp-relay.sendinblue.com
- EMAIL_USERNAME=smtp-username
- EMAIL_PASSWORD=smtp-password
script: yarn validate
after_success: yarn coverage