|
|
@ -1,17 +1,21 @@ |
|
|
|
language: bash |
|
|
|
|
|
|
|
env: |
|
|
|
global: |
|
|
|
- BRANCH_NAME=$TRAVIS_BRANCH |
|
|
|
|
|
|
|
before_install: |
|
|
|
|
|
|
|
|
|
|
|
before_script: |
|
|
|
- sudo apt-get -qq purge mysql* |
|
|
|
- sudo apt-get purge mysql* |
|
|
|
|
|
|
|
|
|
|
|
script: |
|
|
|
# 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 "Travis Banch = $TRAVIS_BRANCH" |
|
|
|
- (BRANCH_NAME=$TRAVIS_BRANCH; sudo bash install.sh) |
|
|
|
- sudo echo "Travis Banch = $TRAVIS_BRANCH & EasyEngine BRANCH_NAME = $BRANCH_NAME" |
|
|
|
- sudo bash install.sh |
|
|
|
|
|
|
|
- sudo sed -i "s/htpasswduser.*/htpasswduser = easyengine/" /etc/easyengine/ee.conf |
|
|
|
- sudo sed -i "s/htpasswdpass.*/htpasswdpass = easyengine/" /etc/easyengine/ee.conf |
|
|
|