Skip to content

Commit 060c8cf

Browse files
committed
Fixed Travis-ci Branch issue
1 parent 198ec1b commit 060c8cf

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.travis.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
language: bash
22

3+
4+
35
before_install:
46

57

68
before_script:
7-
- sudo apt-get purge mysql*
9+
- sudo apt-get purge mysql* graphviz*
10+
- sudo apt-get autoremove
811

912

1013
script:
1114
# Specify Git Username/Password So Installation Script Don't Prompt For Input
1215
- sudo echo -e "[user]\n\tname = Mitesh Shah\n\temail = root@localhost" > ~/.gitconfig
13-
- sudo bash install.sh
16+
- sudo echo "Travis Banch = $TRAVIS_BRANCH"
17+
- sudo sed -i "s/stable/$TRAVIS_BRANCH/g" install.sh
18+
- sudo bash -x install.sh
1419

1520
- sudo sed -i "s/htpasswduser.*/htpasswduser = easyengine/" /etc/easyengine/ee.conf
1621
- sudo sed -i "s/htpasswdpass.*/htpasswdpass = easyengine/" /etc/easyengine/ee.conf
@@ -35,4 +40,4 @@ script:
3540
- sudo ee info
3641
- sudo ee system status
3742
- sudo ee system restart
38-
- sudo mysql -e "show databases";
43+
- sudo mysql -e "show databases";

0 commit comments

Comments
 (0)