Commit graph

222 commits

Author SHA1 Message Date
jgen
e2fa6d316e Realpath isn't used anymore. 2014-02-22 23:36:08 -05:00
jgen
6da5f27447 Make sure we install the php5 postgres drivers. 2014-02-22 19:44:50 -05:00
jgen
8bbaf85114 Need to figure out why the Post data differs from what is specified on the command line. 2014-02-22 19:10:18 -05:00
jgen
13e844a2f7 Output the DSN. 2014-02-22 18:32:42 -05:00
jgen
8ade958dd1 Working on getting PostgreSQL to work on Travis. 2014-02-22 16:04:04 -05:00
jgen
3d1217a1be Trim trailing blank space. 2014-02-22 15:36:52 -05:00
jgen
e6057c656f Re-order the events to ensure InitExtEvent() is fired off both with and without users. 2014-02-22 01:22:14 -05:00
jgen
43f59cc4c0 Fix un-necessary PHP Notices being generated in the error log files. 2014-02-21 20:36:19 -05:00
jgen
9255c861f7 Cleaning up. 2014-02-19 20:50:00 -05:00
jgen
0dd9c19bca Need to escape the dollar signs to prevent BASH from thinking they are vars. 2014-02-19 18:49:56 -05:00
jgen
bbaa9fc6f1 Change the nginx config. 2014-02-19 18:45:28 -05:00
jgen
f3c379b8db Rename the file. 2014-02-19 18:36:38 -05:00
jgen
dd18377f93 First remove the quotes, then the whitespace, then the trailing slash. 2014-02-19 18:26:01 -05:00
jgen
4e0d7d14ae Forgot the brackets. 2014-02-19 18:19:56 -05:00
jgen
eea4d34978 We can actually push the trim functions to when we create the define, less overhead. 2014-02-19 18:17:26 -05:00
jgen
1a7cbc9b2a Check the actual http response code. 2014-02-19 16:40:28 -05:00
jgen
7d90c20297 Cleaning up. 2014-02-19 16:16:01 -05:00
jgen
61bf9b9b3e Put the database into auto commit mode. 2014-02-19 04:19:17 -05:00
jgen
a717f5a0bd Remove the auto-run. 2014-02-19 03:42:18 -05:00
jgen
8b0ac0e9c1 The location of the webserver should be configurable in the travis file. 2014-02-19 03:29:12 -05:00
jgen
5b9107339a Let's just do it directly. 2014-02-19 02:39:13 -05:00
jgen
2ca74a3b33 Expose methods to allow users of the database class to control when transactions occur. 2014-02-19 02:12:56 -05:00
jgen
6bc9315955 Need to commit the new users to the database. 2014-02-19 01:32:51 -05:00
jgen
0013ef923e We don't want to auto run these tests as we need to load and setup things first. 2014-02-19 01:24:53 -05:00
jgen
a5907c5a79 Cleaning up a bit. 2014-02-19 00:40:16 -05:00
jgen
b4819e4b33 We need to create these users before running the tests. 2014-02-19 00:00:18 -05:00
jgen
e7918cc372 Re-work travis config file. 2014-02-18 23:02:10 -05:00
jgen
a210cc9e9e Looks like we are going to have to install, then run the tests. 2014-02-18 22:54:53 -05:00
jgen
4eab3daef4 Typo 2014-02-18 22:42:37 -05:00
jgen
39bec6b666 Wait for the config file to be written. 2014-02-18 22:35:25 -05:00
jgen
62f0be7b92 So, the config file appears to take longer to write out to the file system. 2014-02-18 22:21:14 -05:00
jgen
7d3650555f Remove the catch and just let the exception bring the test down. 2014-02-18 21:35:18 -05:00
jgen
ced3006915 At its finest. 2014-02-18 21:25:08 -05:00
jgen
7f6672a2d3 Dump out the exception. 2014-02-18 20:34:39 -05:00
jgen
491069540e Output the shimmie config on failure. 2014-02-18 20:08:23 -05:00
jgen
6c8d519859 The order of these includes matter. 2014-02-18 19:37:07 -05:00
jgen
4936432d83 Copy the setup from index.php for All tests. 2014-02-18 19:24:10 -05:00
jgen
0b06477fd0 The tests are set to Auto Run. 2014-02-18 17:36:21 -05:00
jgen
83d034653e Forgot the include. 2014-02-18 17:22:45 -05:00
jgen
2935a87073 Refactoring: Move the installer related test case into another file. 2014-02-18 17:18:25 -05:00
jgen
f2c26bde1a Update the copyright notices. 2014-02-18 16:59:07 -05:00
jgen
dc8d1b4f49 Check for the correct text if the install succeeds. 2014-02-18 16:58:31 -05:00
jgen
74748d55c0 Use a constant instead. 2014-02-18 16:28:43 -05:00
jgen
cc88a33088 PHP doesn't call it is_empty, but it does have is_null. Yay consistency. 2014-02-18 16:14:57 -05:00
jgen
f12b32b5d9 Fail if there is no database defined. 2014-02-18 15:41:42 -05:00
jgen
689621a7ed The username for the database doesn't seem to be working. 2014-02-18 13:10:19 -05:00
jgen
cfc663de44 Output the HTML when the install fails. 2014-02-18 12:57:32 -05:00
jgen
f1608d39f1 Dump more logs and change the database username. 2014-02-18 12:22:52 -05:00
jgen
222d82b3c3 Test the installer. 2014-02-18 03:32:05 -05:00
jgen
3564784236 Let's just remove these. 2014-02-18 01:41:40 -05:00
jgen
104711a30e Well lets try this again. 2014-02-18 01:30:27 -05:00
jgen
dcff694c42 Bash arguments start at 1. 2014-02-18 01:11:39 -05:00
jgen
ad3c865716 Explicitly listen on localhost. 2014-02-18 00:50:57 -05:00
jgen
20ce8451f4 Default is a unix socket. 2014-02-18 00:37:07 -05:00
jgen
3e52a1df03 Errors 2014-02-18 00:29:26 -05:00
jgen
ec3804ceb8 Fix the nginx config. 2014-02-18 00:06:58 -05:00
jgen
b56f006b28 Forgot the semicolon. :( 2014-02-17 23:23:20 -05:00
jgen
6a10d66e2d Move the chmod to the script file. 2014-02-17 23:18:00 -05:00
jgen
ac4c0da9a9 Removing unneeded file. 2014-02-17 22:56:32 -05:00
jgen
d2349216b5 I can totally spell environment correctly. 2014-02-17 21:37:56 -05:00
jgen
09fe543a4b Push the test environment setup into a separate shell script. 2014-02-17 21:26:06 -05:00
jgen
8974c2cbc7 Change the apt-get commands. 2014-02-17 17:12:01 -05:00
jgen
58474d4bd3 We actually need a webserver in order to use SimpleTest. 2014-02-17 16:57:46 -05:00
jgen
6f057028b7 Test cases should start with 'test'. 2014-02-17 15:53:22 -05:00
jgen
48932af7c5 Working on testing the installer. 2014-02-17 15:45:42 -05:00
jgen
630f5c2c77 This include is necessary. 2014-02-17 15:03:27 -05:00
jgen
4b6b283f02 Can we assume that the server is 127.0.0.1? 2014-02-17 15:00:04 -05:00
jgen
5f0b7e989e PHP's getopt function on allows single character arguments. 2014-02-17 01:44:54 -05:00
jgen
d069c7b50a Argh, PHP. 2014-02-10 00:54:27 -05:00
jgen
0a8abc54df Rename the class. 2014-02-10 00:46:43 -05:00
jgen
8d8ebddadc Change the include to the SimpleTest files. 2014-02-10 00:44:30 -05:00
jgen
c3835ceea9 Playing around with Travis-ci. 2014-02-10 00:33:57 -05:00