Skip to content

Commit 95f75b8

Browse files
updated travis.yml and changed production config
1 parent 706167f commit 95f75b8

File tree

3 files changed

+7
-14
lines changed

3 files changed

+7
-14
lines changed

.travis.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,6 @@ jobs:
2929
- cat ./coverage/lcov.info | codacy-coverage
3030
- rm ./config/local.json
3131

32-
# deploy:
33-
# # deploy master to the production environment
34-
# - provider: script
35-
# script: docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"; docker push humanconnection/api-feathers:alpha;
36-
# on:
37-
# branch: master
38-
3932
after_success:
4033
- if [ $TRAVIS_BRANCH == "master" ] && [ $TRAVIS_EVENT_TYPE == "push" ]; then
4134
docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";

config/default.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,7 @@
1414
"key": ""
1515
},
1616
"apiSecret": "TE9TqAk2xK[9EFJL",
17-
"sentry": {
18-
"dns": "SENTRY_DNS",
19-
"options": {
20-
"release": "pre-alpha",
21-
"environment": "develop"
22-
}
23-
},
17+
"sentry": {},
2418
"seeder": {
2519
"runOnInit": true,
2620
"dropDatabase": true

config/production.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818
"url": "THUMBOR_URL",
1919
"key": "THUMBOR_KEY"
2020
},
21+
"sentry": {
22+
"dns": "SENTRY_DNS",
23+
"options": {
24+
"environment": "production"
25+
}
26+
},
2127
"apiSecret": "API_SECRET",
2228
"authentication": {
2329
"secret": "AUTH_SECRET",

0 commit comments

Comments
 (0)