Skip to content

Commit 5a6695c

Browse files
committed
Test CI: Travis
1 parent 490b285 commit 5a6695c

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Icon?
2121
Thumbs.db
2222

2323
# Babel ES6 compiles files
24-
dist
24+
# dist
2525

2626
# Directory for instrumented libs generated by jscoverage/JSCover
2727
lib-cov

.travis.yml

+12-7
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
language: node_js
22
node_js:
3-
- "4.8"
4-
- "6.10"
5-
- "7.6"
3+
- '7.6'
64
services:
7-
- mongodb
5+
- mongodb
86
cache:
97
directories:
108
- node_modules
119
git:
1210
depth: 3
13-
script:
14-
- yarn test:check-coverage
11+
script: cross-env NODE_ENV=test ./node_modules/.bin/mocha --ui bdd --reporter spec
12+
--colors --compilers js:babel-core/register server/tests --recursive
1513
after_script:
16-
- yarn report-coverage
14+
- yarn report-coverage
15+
before_script:
16+
- npm install -g gulp-cli
17+
deploy:
18+
app: test-ci
19+
provider: heroku
20+
api_key:
21+
secure: auBdU0dKRsULQaMsTFnt0Gal/YSJSQFgSz1bONqYkm+TFnSlC2W3w1BNUFAqyrUceWT90aieBRau4G9yFNUE6/MGFaxH7a2B1CYraXE2sHXQQ5+vts2mIyeMNnAWiQTiqpMjBvIVKkfLzgOdYgTgNwIZ4b6bSRqd9upCAZAbhoipFNpChSdPtKS6iAr3V7PXlHl1GOyPqURVmhi5r3snHAWk70tp5RZMEX/jSvXnQDFK+YlNyKS4LwpyS1B9UB1C+wLx5MCuijFi6l02ETD21LN3JQG800MKukG3/6Zhec2JbCzlRMMphHJk0fX2bshIpLAEuZzEd0dvOYVTJ5maMuCUijq07PTTIuTOLKCcoZFuKm+sypF9jv4lEVfQUp+dEchrfQyixJNgbuEP6qbbo00i4xzMxPMrj/l0cPI0LSSgupLS4CrrmwiVvqTx30Cr0MXY+sU2uGMNOABHVce6S7QoNv0jst9RlDd2Ab+Q+akD7/ZABGFpOE8AIADP4y9gZcoj92nn8uOpRnISgYGjdBYM9iqksTxiWqwgGWKKWXhr5Gjvc1Ql6y4LBHvtKNDHliMwGs7N9f5PLpWitY50q7NMzwuMH8mO95+WXQ1MFxFORp04p+rscTx7jr8Q+uF/SWZ20BmmmAYIyqMIvREEHKMK/s5xlT7QvrQV/ZENMKU=

Procfile

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: node dist/

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"build": "gulp",
1717
"lint": "esw *.js server config --color",
1818
"lint:watch": "yarn lint -- --watch",
19-
"precommit": "yarn lint && yarn test",
2019
"test": "cross-env NODE_ENV=test ./node_modules/.bin/mocha --ui bdd --reporter spec --colors --compilers js:babel-core/register server/tests --recursive",
2120
"test:watch": "yarn test -- --watch",
2221
"test:coverage": "cross-env NODE_ENV=test ./node_modules/.bin/istanbul cover _mocha -- --ui bdd --reporter spec --colors --compilers js:babel-core/register server/tests --recursive",

0 commit comments

Comments
 (0)