forked from EasyEngine/easyengine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
114 lines (95 loc) · 6.72 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
notifications:
slack: easyengine:76AI30tP8P8AcNTaWaQ9ZAT7
webhooks:
urls:
- https://webhooks.gitter.im/e/bd77a26eab56de803949
- https://webhooks.gitter.im/e/e3e2feb8384c77bf1a8a
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false
language: bash
before_install:
- rm -rf ~/.gnupg
before_script:
- sudo rm -rf /etc/mysql/
- sudo bash -c 'echo example.com > /etc/hostname'
- sudo service hostname restart
- sudo apt-get -qq purge mysql* graphviz*
- sudo apt-get -qq autoremove
- sudo apt-get update
script:
- lsb_release -a
- unset LANG
- sudo bash -c 'echo -e "[user]\n\tname = abc\n\temail = [email protected]" > /home/travis/.gitconfig'
- sudo echo "Travis Banch = $TRAVIS_BRANCH"
- sudo apt-get install -y --force-yes git python3-setuptools python3-dev python3-apt
- sudo bash install $TRAVIS_BRANCH
- sudo ee --help
- sudo ee stack install || sudo tail -n50 /var/log/ee/ee.log
- sudo ee stack install --web || sudo tail -n50 /var/log/ee/ee.log
- sudo ee stack install --admin || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create html.net --html || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create php.com --php || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create mysql.com --mysql || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site1.com --wp || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site2.net --wp --wpsc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site3.net --wp --w3tc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site4.com --wpfc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site4.net --wp --wpfc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site4.org --wpfc --wp || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site5.com --wpsubdir || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site6.com --wpsubdir --wpsc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site7.com --wpsubdir --w3tc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site8.com --wpsubdir --wpfc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site8.net --wpfc --wpsubdir || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site9.com --wpsubdomain || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site10.org --wpsubdomain --wpsc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site11.org --wpsubdomain --w3tc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site12.org --wpsubdomain --wpfc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site12.in --wpfc --wpsubdomain || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site create site.hhvm.pagespeed2.com --wpsc --hhvm || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site create site.hhvm.pagespeed4.com --wpfc --hhvm || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site create site.hhvm.pagespeed5.com --wpsubdir --hhvm || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site create site.hhvm.pagespeed6.com --wpsubdir --wpsc --hhvm || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site create site.hhvm.pagespeed8.com --wpsubdir --wpfc --hhvm || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site create site.hhvm.pagespeed9.com --wpsubdomain --hhvm || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site create site.hhvm.pagespeed10.org --wpsubdomain --wpsc --hhvm || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site create site.hhvm.pagespeed12.in --wpfc --wpsubdomain --hhvm || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site1.localtest.me --php --mysql || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site2.localtest.me --mysql --html || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site3.localtest.me --php --html || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site4.localtest.me --wp --wpsubdomain || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site5.localtest.me --wp --wpsubdir --wpfc || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site create site6.localtest.me --wpredis || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site create site7.localtest.me --wpsubdomain --wpredis || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site create site8.localtest.me --wpsubdir --wpredis || sudo tail -n50 /var/log/ee/ee.log
- sudo ee debug --all || sudo tail -n50 /var/log/ee/ee.log
- sudo ee debug --all=off || sudo tail -n50 /var/log/ee/ee.log
- sudo ee debug site12.net || sudo tail -n50 /var/log/ee/ee.log
- sudo ee debug site12.net --all=off || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create 1.com --html || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create 2.com --php || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create 3.com --mysql || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site update 1.com --wp || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site update 2.com --wpsubdir || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site update 3.com --wpsubdomain || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site update site1.com --wp --wpfc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site update site1.com --wp --w3tc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site update site1.com --wp --wpsc || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site update site1.com --wpredis || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site update site5.com --wpsubdir --wpfc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site update site5.com --wpsubdir --wpsc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site update site9.com --wpsubdomain --wpfc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site update site9.com --wpsubdomain --wpsc || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site update site.hhvm.pagespeed12.in --hhvm=off || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site update site9.com --hhvm || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site info site.hhvm.pagespeed12.in || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site info site9.com || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create www.site-1.com --wp || sudo tail -n50 /var/log/ee/ee.log|| sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create www.subsite.site-1.com --wpfc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site update www.subsite.site-1.com --wp || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site delete www.subsite.site-1.com --all --no-prompt || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site delete site12.in --all --no-prompt || sudo tail -n50 /var/log/ee/ee.log
- sudo ls /var/www/
- sudo wp --allow-root --info
- sudo bash -c 'cat /var/log/ee/ee.log'