diff --git a/.travis.yml b/.travis.yml index 5340dace..568f7da3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,21 @@ language: bash + + before_install: before_script: -- sudo apt-get purge mysql* +- sudo apt-get purge mysql* graphviz* +- sudo apt-get autoremove 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 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/htpasswdpass.*/htpasswdpass = easyengine/" /etc/easyengine/ee.conf @@ -35,4 +40,4 @@ script: - sudo ee info - sudo ee system status - sudo ee system restart -- sudo mysql -e "show databases"; +- sudo mysql -e "show databases"; \ No newline at end of file