Skip to content

Commit f0ef152

Browse files
committed
Added code coverage
1 parent f922d42 commit f0ef152

File tree

3 files changed

+888
-13
lines changed

3 files changed

+888
-13
lines changed

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@ node_js:
33
- '12'
44
- '10'
55
- '8'
6+
branches:
7+
only:
8+
- master
9+
cache:
10+
npm: true
11+
services:
12+
- mongodb
13+
before_script:
14+
- cp .env.example .env
15+
env:
16+
- NODE_ENV=test
17+
- MONGODB_URL=mongodb://127.0.0.1:27017/rest-api-nodejs-mongodb
618
os:
719
- windows
820
- linux

0 commit comments

Comments
 (0)