forked from whq731/swagger-express-middleware-with-chance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
19 lines (18 loc) · 766 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Travis CI config
# http://docs.travis-ci.com/user/languages/javascript-with-nodejs/
sudo: false
language: node_js
matrix:
include:
- node_js: 0.10
- node_js: 0.11
- node_js: 0.12
branches:
only:
- master # only run CI on the master branch
- /^PR / # also build pull requests
after_success:
- cat coverage/*/lcov.info > coveralls.txt # concatenate all code-coverage data into a single file
- cat coveralls.txt # output the file contents (for debugging)
- ls -R1 coverage/*/lcov.info # list the files (for debugging)
- cat coveralls.txt | node_modules/coveralls/bin/coveralls.js # send code-coverage data to Coveralls