Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit 0ee9e3f

Browse files
merged develop in
2 parents ea21062 + 121c4e4 commit 0ee9e3f

File tree

4 files changed

+47
-10
lines changed

4 files changed

+47
-10
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
- script:
2323
- yarn install --frozen-lockfile --non-interactive
2424
- yarn add codacy-coverage
25-
- yarn global add nyc
2625
- yarn test
2726
- cat ./coverage/lcov.info | codacy-coverage
2827

@@ -31,3 +30,7 @@ after_success:
3130
docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";
3231
docker push humanconnection/api-feathers:alpha;
3332
fi
33+
- if [ $TRAVIS_BRANCH == "develop" ] && [ $TRAVIS_EVENT_TYPE == "push" ]; then
34+
docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";
35+
docker push humanconnection/api-feathers:edge;
36+
fi

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<p align="center">
77
<a href="https://travis-ci.org/Human-Connection/API"><img src="https://img.shields.io/travis/Human-Connection/API/master.svg" alt="Build Status"></a>
88
<a href="https://github.com/Human-Connection/WebApp/blob/develop/LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-green.svg" "MIT" /></a>
9+
<a href="https://app.fossa.io/projects/git%2Bgithub.com%2FHuman-Connection%2FAPI?ref=badge_shield" alt="FOSSA Status"><img src="https://app.fossa.io/api/projects/git%2Bgithub.com%2FHuman-Connection%2FAPI.svg?type=shield"/></a>
910
</p>
1011

1112
# Human-Connection API
@@ -105,9 +106,7 @@ The seeder configuration has two properties:
105106
106107
## Testing
107108
108-
First you will need to install the `nyc` CLI by running `yarn global add nyc` before you run the tests for the first time.
109-
110-
Then simply run `yarn test` and all your tests in the `test/` directory will be run.
109+
Simply run `yarn test` and all your tests in the `test/` directory will be run.
111110
112111
## Scaffolding
113112
@@ -130,4 +129,6 @@ The HC platform is documented in our [gitbook](https://www.gitbook.com/book/huma
130129
131130
## License
132131
133-
[MIT](https://github.com/Human-Connection/WebApp/blob/develop/LICENSE.md)
132+
Copyright (c) 2018 [Human-Connection.org](https://human-connection.org)
133+
134+
Licensed under the [MIT](https://github.com/Human-Connection/WebApp/blob/develop/LICENSE.md) license.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
},
3535
"scripts": {
3636
"clear": "rm -Rf tmp",
37-
"test": "npm run eslint && cross-env NODE_ENV=test nyc --reporter=lcovonly --reporter=text-summary npm run mocha",
38-
"test:mongo": "npm run eslint && cross-env NODE_ENV=test nyc --reporter=lcovonly --reporter=text-summary npm run mocha:mongo",
37+
"test": "npm run eslint && cross-env NODE_ENV=test && nyc --reporter=lcovonly --reporter=text-summary npm run mocha",
38+
"test:mongo": "npm run eslint && cross-env NODE_ENV=test && nyc --reporter=lcovonly --reporter=text-summary npm run mocha:mongo",
3939
"eslint": "eslint server/. test/. --config .eslintrc.json",
4040
"start": "concurrently 'mongod' 'wait-on tcp:27017 && cross-env NODE_ENV=production node server/'",
4141
"dev:debug": "npm run clear && concurrently '$npm_package_config_mongoDev &>/dev/null' 'wait-on tcp:27017 && cross-env DEBUG=feathers && cross-env NODE_ENV=development nodemon --inspect server/'",
@@ -90,6 +90,7 @@
9090
"mongoose": "~4.13.2",
9191
"multer": "~1.3.0",
9292
"node-sass": "~4.7.2",
93+
"nyc": "^12.0.2",
9394
"quill-url-embeds": "^1.2.5",
9495
"raven": "~2.6.1",
9596
"request": "~2.86.0",

yarn.lock

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3634,7 +3634,7 @@ methods@~1.1.2:
36343634
version "1.1.2"
36353635
resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee"
36363636

3637-
micromatch@^3.1.10, micromatch@^3.1.4, micromatch@^3.1.8:
3637+
micromatch@^3.1.10, micromatch@^3.1.8:
36383638
version "3.1.10"
36393639
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23"
36403640
dependencies:
@@ -3652,6 +3652,24 @@ micromatch@^3.1.10, micromatch@^3.1.4, micromatch@^3.1.8:
36523652
snapdragon "^0.8.1"
36533653
to-regex "^3.0.2"
36543654

3655+
micromatch@^3.1.4:
3656+
version "3.1.5"
3657+
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.5.tgz#d05e168c206472dfbca985bfef4f57797b4cd4ba"
3658+
dependencies:
3659+
arr-diff "^4.0.0"
3660+
array-unique "^0.3.2"
3661+
braces "^2.3.0"
3662+
define-property "^1.0.0"
3663+
extend-shallow "^2.0.1"
3664+
extglob "^2.0.2"
3665+
fragment-cache "^0.2.1"
3666+
kind-of "^6.0.0"
3667+
nanomatch "^1.2.5"
3668+
object.pick "^1.3.0"
3669+
regex-not "^1.0.0"
3670+
snapdragon "^0.8.1"
3671+
to-regex "^3.0.1"
3672+
36553673
"mime-db@>= 1.34.0 < 2":
36563674
version "1.34.0"
36573675
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.34.0.tgz#452d0ecff5c30346a6dc1e64b1eaee0d3719ff9a"
@@ -5441,7 +5459,15 @@ to-regex-range@^2.1.0:
54415459
is-number "^3.0.0"
54425460
repeat-string "^1.6.1"
54435461

5444-
to-regex@^3.0.1, to-regex@^3.0.2:
5462+
to-regex@^3.0.1:
5463+
version "3.0.1"
5464+
resolved "https://registry.yarnpkg.com/to-regex/-/to-regex-3.0.1.tgz#15358bee4a2c83bd76377ba1dc049d0f18837aae"
5465+
dependencies:
5466+
define-property "^0.2.5"
5467+
extend-shallow "^2.0.1"
5468+
regex-not "^1.0.0"
5469+
5470+
to-regex@^3.0.2:
54455471
version "3.0.2"
54465472
resolved "https://registry.yarnpkg.com/to-regex/-/to-regex-3.0.2.tgz#13cfdd9b336552f30b51f33a8ae1b42a7a7599ce"
54475473
dependencies:
@@ -5730,7 +5756,13 @@ which-module@^2.0.0:
57305756
version "2.0.0"
57315757
resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"
57325758

5733-
which@1, which@^1.1.1, which@^1.2.9, which@^1.3.0:
5759+
which@1, which@^1.1.1, which@^1.2.9:
5760+
version "1.3.0"
5761+
resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a"
5762+
dependencies:
5763+
isexe "^2.0.0"
5764+
5765+
which@^1.3.0:
57345766
version "1.3.1"
57355767
resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"
57365768
dependencies:

0 commit comments

Comments
 (0)