Browse Source

Fixed Travis-ci Branch issue

old-stable
Mitesh Shah 11 years ago
parent
commit
060c8cf83b
  1. 9
      .travis.yml

9
.travis.yml

@ -1,16 +1,21 @@
language: bash language: bash
before_install: before_install:
before_script: before_script:
- sudo apt-get purge mysql* - sudo apt-get purge mysql* graphviz*
- sudo apt-get autoremove
script: script:
# Specify Git Username/Password So Installation Script Don't Prompt For Input # Specify Git Username/Password So Installation Script Don't Prompt For Input
- sudo echo -e "[user]\n\tname = Mitesh Shah\n\temail = root@localhost" > ~/.gitconfig - sudo echo -e "[user]\n\tname = Mitesh Shah\n\temail = root@localhost" > ~/.gitconfig
- sudo bash install.sh - sudo echo "Travis Banch = $TRAVIS_BRANCH"
- sudo sed -i "s/stable/$TRAVIS_BRANCH/g" install.sh
- sudo bash -x install.sh
- sudo sed -i "s/htpasswduser.*/htpasswduser = easyengine/" /etc/easyengine/ee.conf - sudo sed -i "s/htpasswduser.*/htpasswduser = easyengine/" /etc/easyengine/ee.conf
- sudo sed -i "s/htpasswdpass.*/htpasswdpass = easyengine/" /etc/easyengine/ee.conf - sudo sed -i "s/htpasswdpass.*/htpasswdpass = easyengine/" /etc/easyengine/ee.conf

Loading…
Cancel
Save