forked from EasyEngine/easyengine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (33 loc) · 1.48 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
language: bash
before_install:
before_script:
- 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 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
- sudo bash ee system install
- sudo bash ee site create html.com
- sudo bash ee site create php.com --php
- sudo bash ee site create mysql.com --mysql
- sudo bash ee site create basic.com --wp
- sudo bash ee site create w3tc.com --w3tc
- sudo bash ee site create wpsc.com --wpsc
- sudo bash ee site create wpfc.com --wpfc
- sudo bash ee site create wpsubdirbasic.com --wpsubdir
- sudo bash ee site create wpsubdirw3tc.com --wpsubdir --w3tc
- sudo bash ee site create wpsubdirwpsc.com --wpsubdir --wpsc
- sudo bash ee site create wpsubdirwpfc.com --wpsubdir --wpfc
- sudo bash ee site create wpsubdomainbasic.com --wpsubdomain
- sudo bash ee site create wpsubdomainw3tc.com --wpsubdomain --w3tc
- sudo bash ee site create wpsubdomainwpsc.com --wpsubdomain --wpsc
- sudo bash ee site create wpsubdomainwpfc.com --wpsubdomain --wpfc
- sudo ee info
- sudo ee system status
- sudo ee system restart
- sudo mysql -e "show databases";