File tree 3 files changed +9
-3
lines changed
3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ deploy:
21
21
after_success :
22
22
- git config --global user.name "Surabhi Sharma"
23
23
- 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
+
25
26
# - git add dist/
26
27
# - git checkout -b release
27
28
# - git commit -m "Dist"
@@ -31,4 +32,9 @@ after_success:
31
32
32
33
# - if [ "$TRAVIS_BRANCH" == "master" ] ; then npm run deploy ; else echo "Skipping after_success" ; fi
33
34
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=
Original file line number Diff line number Diff line change 20
20
"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" ,
21
21
"test:check-coverage" : " npm test:coverage && istanbul check-coverage" ,
22
22
"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 "
24
24
},
25
25
"repository" : {
26
26
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments