Skip to content

Test CI #413

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 36 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
ae780b4
Test CI
ssurabhi10 Jul 21, 2017
03bff11
Merge pull request #1 from surabhi226005/feature/ss/test-ci
ssurabhi10 Jul 22, 2017
cafa5be
Test CI
ssurabhi10 Jul 21, 2017
20ec6cd
Merge branch 'develop' into feature/ss/test-ci
ssurabhi10 Jul 22, 2017
0c65617
Merge pull request #3 from surabhi226005/feature/ss/test-ci
ssurabhi10 Jul 22, 2017
5a6695c
Test CI: Travis
ssurabhi10 Jul 21, 2017
4382e00
Merge branch 'develop' into feature/ss/test-ci
ssurabhi10 Jul 22, 2017
04bbd4d
Merge pull request #4 from surabhi226005/feature/ss/test-ci
ssurabhi10 Jul 22, 2017
7635d21
Add travis script to auto-fetch develop from GitHub after a PR is merged
ssurabhi10 Jul 26, 2017
fa6aa0e
Add travis script to auto-fetch develop from GitHub after a PR is merged
ssurabhi10 Jul 26, 2017
1fd2df4
test
ssurabhi10 Jul 26, 2017
7629c47
Merge branch 'develop' into feature/ss/test-ci
ssurabhi10 Jul 26, 2017
5906f77
test
ssurabhi10 Jul 26, 2017
e0c574a
Merge pull request #7 from surabhi226005/feature/ss/test-ci
ssurabhi10 Jul 27, 2017
2952914
test 2
ssurabhi10 Jul 27, 2017
1893272
test 2
ssurabhi10 Jul 27, 2017
593ca95
Removing detached head error
ssurabhi10 Jul 27, 2017
f08d874
Merge branch 'develop' into feature/ss/test-ci
ssurabhi10 Jul 27, 2017
c08051c
Feature/ss/test ci (#9)
ssurabhi10 Jul 27, 2017
df89006
Merge branch 'develop' into feature/ss/test-ci
ssurabhi10 Jul 27, 2017
80ddb16
Feature/ss/test ci (#10)
ssurabhi10 Jul 27, 2017
0f5c989
test 3
ssurabhi10 Jul 27, 2017
ca04e38
Feature/ss/test ci (#11)
ssurabhi10 Jul 27, 2017
8c509bd
Merge branch 'develop' into feature/ss/test-ci
ssurabhi10 Jul 27, 2017
2b7bcd7
Feature/ss/test ci (#12)
ssurabhi10 Jul 27, 2017
c337dc3
Feature/ss/test ci (#13)
ssurabhi10 Jul 27, 2017
dbc9316
Remove yarn, add npm
ssurabhi10 Jul 27, 2017
fbcca5a
Feature/ss/test ci (#14)
ssurabhi10 Jul 27, 2017
6257664
Feature/ss/test ci (#15)
ssurabhi10 Jul 27, 2017
8cd056b
Add yarn in slugignore file
ssurabhi10 Jul 27, 2017
410763f
test 4
ssurabhi10 Jul 27, 2017
0c6a35e
Feature/ss/test ci (#16)
ssurabhi10 Jul 27, 2017
bf9a65f
Feature/ss/test ci (#17)
ssurabhi10 Jul 27, 2017
bc20e3c
Feature/ss/test ci (#18)
ssurabhi10 Jul 27, 2017
4c97d96
Add travis-script
ssurabhi10 Jul 27, 2017
a86547d
Merge branch 'develop' into feature/ss/test-ci
ssurabhi10 Jul 27, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Icon?
Thumbs.db

# Babel ES6 compiles files
dist
# dist

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
Expand Down
1 change: 1 addition & 0 deletions .slugignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
yarn.lock
36 changes: 30 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,40 @@
language: node_js
node_js:
- "4.8"
- "6.10"
- "7.6"
- '7.6'
services:
- mongodb
cache:
directories:
- node_modules
git:
depth: 3
script:
- yarn test:check-coverage
script: npm run travis-script
after_script:
- yarn report-coverage
- npm report-coverage
before_script:
- npm install -g gulp-cli
deploy:
app: test-ci
provider: heroku
api_key:
secure: auBdU0dKRsULQaMsTFnt0Gal/YSJSQFgSz1bONqYkm+TFnSlC2W3w1BNUFAqyrUceWT90aieBRau4G9yFNUE6/MGFaxH7a2B1CYraXE2sHXQQ5+vts2mIyeMNnAWiQTiqpMjBvIVKkfLzgOdYgTgNwIZ4b6bSRqd9upCAZAbhoipFNpChSdPtKS6iAr3V7PXlHl1GOyPqURVmhi5r3snHAWk70tp5RZMEX/jSvXnQDFK+YlNyKS4LwpyS1B9UB1C+wLx5MCuijFi6l02ETD21LN3JQG800MKukG3/6Zhec2JbCzlRMMphHJk0fX2bshIpLAEuZzEd0dvOYVTJ5maMuCUijq07PTTIuTOLKCcoZFuKm+sypF9jv4lEVfQUp+dEchrfQyixJNgbuEP6qbbo00i4xzMxPMrj/l0cPI0LSSgupLS4CrrmwiVvqTx30Cr0MXY+sU2uGMNOABHVce6S7QoNv0jst9RlDd2Ab+Q+akD7/ZABGFpOE8AIADP4y9gZcoj92nn8uOpRnISgYGjdBYM9iqksTxiWqwgGWKKWXhr5Gjvc1Ql6y4LBHvtKNDHliMwGs7N9f5PLpWitY50q7NMzwuMH8mO95+WXQ1MFxFORp04p+rscTx7jr8Q+uF/SWZ20BmmmAYIyqMIvREEHKMK/s5xlT7QvrQV/ZENMKU=
after_success:
- git config --global user.name "Surabhi Sharma"
- git config --global user.email [email protected]
- if [ "$TRAVIS_BRANCH" == "develop" ] ; then git remote rm heroku ; git remote add heroku [email protected]:codalyze-test-ci.git ; git add dist/ ; git checkout -b release ; git commit -m "Dist" ; git push heroku release:master ; echo -e yes ; fi

# - git add dist/
# - git checkout -b release
# - git commit -m "Dist"
# - git push heroku release:master
# - fi


#- if [ "$TRAVIS_BRANCH" == "master" ] ; then npm run deploy ; else echo "Skipping after_success" ; fi


# https://git.heroku.com/codalyze-test-ci.git

# env:
# global:
# secure: GaWCIjifcrDR1/bzRo5X5tcZXKfiulC8LcxXmzAD9nL83VNmuXZ5XE9j5Pt5uNtT9J6xDHF9OMnvknJlAKKp6ZmWGU8wQmO4nc/GZFOhZP4jv8v/v0kFFhvDN9YzuBGIl+daafCZ2Ve3wANnxb92qsHC5TsIBRcf/1QGme25tfHqaAGxL165EoecRmbFyFC2biYCj9EyYNxx3gXNB2EPL8M0aLDtXabDHWs3i38G5jZakgYoC0DqGXRubbzl6uJCylawJYoAkk09U8obs6Zv+Z/HkgbR0AjeLVuXd3cwbZkh3uXBw2llFRb/J3T30rfBPgtXDEiI/Qu+uhQSSjf9C4jWu2sVrSizk/6d2wZGlFMIW/549Bi3tSgyhb8PCllTscPGgVaSNAeoBRd3QPj6BVS5u8+DN+hpjGp3sb2IOaWL5NSDd+o8QKQrhSxe5PQDQtmIXZ9vd1Mi9WXCLJiUWSs4R3U4qzEn4b/TiIWKLUqfJg1o++xwZRuUr6GCO3VDcdGcSQOfpr4NCwsZ1QpLY1cbuQGGDzmeviMXy+l0r6wW7knqWmnQBXLcQCqTh0niFok9x4M7Nk3M9Z7vIqa3/bZc7cWUJAk4RFZ3AiO0B1Xw0wpn9cD3tLRasm4SR3HRo5sD4gMvnJY+Fsw3te3jwx7fG/C2hS28jqB9lZJzdl8=
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: node dist/
51 changes: 51 additions & 0 deletions dist/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# IDE
.idea

# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
ehthumbs.db
Icon?
Thumbs.db

# Babel ES6 compiles files
# dist

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

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directory
node_modules

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history

# .env
.env
51 changes: 51 additions & 0 deletions dist/config/config.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/config/config.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

145 changes: 145 additions & 0 deletions dist/config/express.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/config/express.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 42 additions & 0 deletions dist/config/param-validation.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/config/param-validation.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions dist/config/winston.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/config/winston.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading