Commit Graph

28 Commits

Author SHA1 Message Date
Steve Boyd 22e3951244 MNT Test using PHPUnit9 2022-06-02 12:21:46 +12:00
Steve Boyd d3c8e2915e MNT Rearrange travis matrix 2021-01-18 11:37:36 +13:00
Steve Boyd 082742ad23 MNT Travis shared config, use sminnee/phpunit 2020-12-02 15:41:59 +13:00
Maxime Rainville 753d73e1fe
BUG Fix issues preventing a site from being migrated from SS3 to SS4 (#104)
* BUG Enum value change wasn't being detected by alterTableAlterColumn because backslashes were not accounting

* BUG Update renameTable to also rename constraints

* BUG Add unit tests to cover requireTable and renameTable

* Fix liniting errors

* MINOR Update build to use xenial and add extra PHP version
2019-09-26 10:25:41 +12:00
Sam Minnee 82f8a06afa NEW: Drop PHP 5.6 testing
PostgreSQL 2.3+, like Framework 4.5+, is able to be PHP 7.1+. Updated
the test matrix to reflect this.
2019-07-03 13:58:50 +12:00
Maxime Rainville 6378003540 Prefer source so we get the tests. 2018-07-02 11:47:15 +12:00
Maxime Rainville b210c7284f Targeting 4.3.x-dev
Third time's a charm.
2018-07-02 11:47:15 +12:00
Maxime Rainville 7fe935fc89 Correct typo in targeted version. 2018-07-02 11:47:15 +12:00
Maxime Rainville 694c4059b9 Test against recipe-cms 4. 2018-07-02 11:47:15 +12:00
Daniel Hensby a32f5e556a
Correcting travis install steps 2017-11-21 11:38:00 +00:00
Damian Mooyman 685e33cf84
BUG Fix postgres + PDO not working
BUG Fix empty enums
2017-11-20 09:07:32 +13:00
Daniel Hensby d7118b6267
Merge branch '1' 2017-07-26 16:33:23 +01:00
Daniel Hensby e3bebfe453
Merge branch '1.1' into 1.2 2017-07-26 14:23:02 +01:00
Daniel Hensby 5187e747b3
Actually run tests using postgres 2017-07-26 14:22:00 +01:00
Daniel Hensby e6dbc0a708
Merge branch '1' 2017-07-26 13:57:30 +01:00
Daniel Hensby 1c953025e6
Merge branch '1.1' into 1.2 2017-07-26 12:15:02 +01:00
Daniel Hensby 6a168488ac
Stay on travis precise 2017-07-26 11:55:24 +01:00
Ingo Schommer 132c31bc80 Testing in PHP7
Now that we have support for PHP7 in SS 3.x, we should test the Postgres module against it.
I've set up the tests to run weekly on this branch (and master) via TravisCI new cron job feature.
While we have a nightly "all modules" run in silverstripe-installer, it doesn't have the same matrix coverage as this run here.

I've also removed removed tests against older (and unsupported) 3.x releases (it was testing against 3.2)
2017-06-27 15:58:40 +12:00
Damian Mooyman 307a6b673d
Fix travis config 2017-05-31 15:22:56 +12:00
Damian Mooyman e941f0b122
API Ensure table aliases longer than max characters are safely re-written 2017-05-26 10:15:10 +12:00
Damian Mooyman 6568b41550
Update phpunit version 2016-07-04 15:11:06 +12:00
Damian Mooyman 2b3da3c9a8 BUG Fix decimal not supporting non-integer values 2015-11-03 09:14:10 +13:00
Ingo Schommer eb4b7cca86 Updated PHP build versions to match new core minimum reqs 2015-11-03 08:43:07 +13:00
Daniel Hensby 750f4a9d9f Move to new travis containerised infrastructure 2015-07-20 16:01:39 +01:00
Daniel Hensby 31abb29c5d Updating travis provisioner
Travis will now be more resilient to `composer self-update` failures
2015-06-15 10:03:16 +01:00
Simon Welsh 4f6a9523f6 Don't test against unsupported core versions 2014-07-11 09:26:11 +10:00
Simon Welsh 042eb98dfe Don't test against unsupported core versions 2014-07-11 09:25:44 +10:00
Ingo Schommer 4ca243fc68 Added travis support 2014-02-18 17:56:10 +13:00