Skip to content

Commit

Permalink
Set timeout to 0 for Travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
amitaibu committed Feb 10, 2014
1 parent 1d8e2e2 commit 359580d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ before_script:
- drush solr-mark-all
- drush solr-index

# Make sure emails are not sent.
- php -r "print json_encode(array('default-system' => 'DevelMailLog', 'mimemail' => 'MimeMailSystem'));" | drush vset --format=json mail_system -

# Copy Behat configuration file.
- cd profiles/openscholar/behat
- cp behat.local.yml.travis behat.local.yml
Expand Down
4 changes: 3 additions & 1 deletion scripts/setup
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ ini_set('session.gc_divisor', 100);
ini_set('session.gc_maxlifetime', 200000);
ini_set('session.cookie_lifetime', 2000000);
ini_set('max_execution_time', 0);
/**
* Fast 404 pages:
*/
Expand All @@ -52,7 +54,7 @@ ini_set('session.cookie_lifetime', 2000000);
);
// Use Devel to redirect SMTP to file.
\$conf['mail_system'] = array('default-system' => 'DevelMailLog');
\$conf['mail_system'] = array('default-system' => 'DevelMailLog', 'mimemail' => 'MimeMailSystem');
EOF

Expand Down

0 comments on commit 359580d

Please sign in to comment.