Output the HTML when the install fails.
This commit is contained in:
parent
f1608d39f1
commit
cfc663de44
2 changed files with 7 additions and 3 deletions
|
@ -29,8 +29,8 @@ after_failure:
|
|||
- sudo cat /etc/nginx/sites-enabled/default
|
||||
- sudo cat /var/log/nginx/error.log
|
||||
- sudo cat /var/log/php5-fpm.log
|
||||
- sudo cat /var/log/mysql.*
|
||||
- sudo ls /var/log/nginx
|
||||
- sudo cat /var/log/mysql.log
|
||||
- sudo cat /var/log/mysql.err
|
||||
|
||||
# configure notifications (email, IRC, campfire etc)
|
||||
#notifications:
|
||||
|
|
|
@ -37,7 +37,11 @@ class ShimmieSimpleTestCase extends WebTestCase {
|
|||
$this->setFieldByName("database_password", $this->db_pass);
|
||||
$this->assertFieldByName("database_name", "shimmie");
|
||||
$this->clickSubmit("Go!");
|
||||
$this->assertTitle("Welcome to Shimmie");
|
||||
|
||||
if (!$this->assertTitle("Welcome to Shimmie")) {
|
||||
$this->showSource();
|
||||
}
|
||||
|
||||
$this->assertText("Welcome to Shimmie");
|
||||
$this->assertText("This message will go away once your first image");
|
||||
}
|
||||
|
|
Reference in a new issue