Skip to content

Commit a86547d

Browse files
committed
Merge branch 'develop' into feature/ss/test-ci
2 parents 4c97d96 + bc20e3c commit a86547d

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.travis.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ deploy:
2121
after_success:
2222
- git config --global user.name "Surabhi Sharma"
2323
- git config --global user.email surabhisharma.226005@gmail.com
24-
- if [ "$TRAVIS_BRANCH" == "develop" ] ; then git remote rm heroku ; git remote add heroku git@heroku.com:codalyze-test-ci.git ; git add dist/ ; git checkout -b release ; git commit -m "Dist" ; git push heroku release:master ; yes ; fi
24+
- if [ "$TRAVIS_BRANCH" == "develop" ] ; then git remote rm heroku ; git remote add heroku git@heroku.com:codalyze-test-ci.git ; git add dist/ ; git checkout -b release ; git commit -m "Dist" ; git push heroku release:master ; echo -e yes ; fi
25+
2526
# - git add dist/
2627
# - git checkout -b release
2728
# - git commit -m "Dist"
@@ -31,4 +32,9 @@ after_success:
3132

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

34-
# https://git.heroku.com/codalyze-test-ci.git
35+
36+
# https://git.heroku.com/codalyze-test-ci.git
37+
38+
# env:
39+
# global:
40+
# secure: GaWCIjifcrDR1/bzRo5X5tcZXKfiulC8LcxXmzAD9nL83VNmuXZ5XE9j5Pt5uNtT9J6xDHF9OMnvknJlAKKp6ZmWGU8wQmO4nc/GZFOhZP4jv8v/v0kFFhvDN9YzuBGIl+daafCZ2Ve3wANnxb92qsHC5TsIBRcf/1QGme25tfHqaAGxL165EoecRmbFyFC2biYCj9EyYNxx3gXNB2EPL8M0aLDtXabDHWs3i38G5jZakgYoC0DqGXRubbzl6uJCylawJYoAkk09U8obs6Zv+Z/HkgbR0AjeLVuXd3cwbZkh3uXBw2llFRb/J3T30rfBPgtXDEiI/Qu+uhQSSjf9C4jWu2sVrSizk/6d2wZGlFMIW/549Bi3tSgyhb8PCllTscPGgVaSNAeoBRd3QPj6BVS5u8+DN+hpjGp3sb2IOaWL5NSDd+o8QKQrhSxe5PQDQtmIXZ9vd1Mi9WXCLJiUWSs4R3U4qzEn4b/TiIWKLUqfJg1o++xwZRuUr6GCO3VDcdGcSQOfpr4NCwsZ1QpLY1cbuQGGDzmeviMXy+l0r6wW7knqWmnQBXLcQCqTh0niFok9x4M7Nk3M9Z7vIqa3/bZc7cWUJAk4RFZ3AiO0B1Xw0wpn9cD3tLRasm4SR3HRo5sD4gMvnJY+Fsw3te3jwx7fG/C2hS28jqB9lZJzdl8=

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"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",
2121
"test:check-coverage": "npm test:coverage && istanbul check-coverage",
2222
"report-coverage": "coveralls < ./coverage/lcov.info",
23-
"travis-script": "npm run lint && npm test && npm run build"
23+
"travis-script": "if [ \"$TRAVIS_BRANCH\" = \"develop\" ] ; then npm run lint && npm test && npm run build ; else npm run lint && npm test ; fi"
2424
},
2525
"repository": {
2626
"type": "git",

travis.sh

Whitespace-only changes.

0 commit comments

Comments
 (0)