Commit Graph

29 Commits

Author SHA1 Message Date
Daniël Klabbers
c4a501f82a
Improved foundational backend unit tests (#1405)
* part one of adding tests, updating core

* Apply fixes from StyleCI

[ci skip] [skip ci]

* we need xdebug for code coverage, and hhvm was already removed

* forgot about the sidecar for mysql completely 🤦

* gitignore removed this installed json we need to fake that we have extensions

* using reguarded closure
2018-04-17 11:15:28 +02:00
Daniel Klabbers
cc22d1d6f8
dropped hhvm and gitter webhook 2018-03-03 23:54:37 +01:00
Daniel Klabbers
3f9dc81874 satisfying styleci, undo mysql in travis 2017-10-05 14:02:54 +02:00
Daniel Klabbers
1c01145a14 fixed those exception handling tests 2017-10-05 13:57:31 +02:00
Franz Liedke
0dcf7d6aa9
Travis: Run tests on PHP 7.1 as well 2017-02-03 21:53:39 +01:00
Franz Liedke
015967a76c
Require PHP 5.6 2017-02-03 21:53:20 +01:00
Toby Zerner
6db27dff4f Move phpunit.xml into root to make PHPUnit easier to run
This seems to be pretty standard. Can just run `vendor/bin/phpunit` without any arguments. Removes the need for `composer test` (which is not ideal anyway as it removes colours from the output).
2016-06-05 09:16:29 +09:30
Franz Liedke
77086c9be6 Travis: Do not run PhpUnit through Composer
We need to run PhpUnit with xDebug enabled in order to collect
code coverage information. It is disabled for performance reasons,
though: https://github.com/travis-ci/travis-ci/issues/5780.
2016-03-21 23:12:09 +09:00
Franz Liedke
3c629f091d Travis: Generate code coverage report when running tests 2016-03-21 20:21:51 +09:00
Toby Zerner
67f3a4a5bf Merge pull request #844 from Luceos/codecov
added integration with codecov to track coverage of tests
2016-03-21 20:19:15 +10:30
Toby Zerner
2391471937 Clean up linting stuff. closes #852 2016-03-10 17:13:30 +10:30
Daniel Klabbers
cb6ac9e9e2 added integration with codecov to track coverage of tests 2016-03-03 11:50:09 +01:00
Franz Liedke
3581fe8d1e No sudo 2016-01-28 08:06:33 +01:00
Franz Liedke
90ce0fa521 Travis: Make sure Composer is up-to-date. 2016-01-28 08:06:20 +01:00
Franz Liedke
63b5cd0812 Travis: Update Xdebug removal code 2016-01-28 07:59:04 +01:00
Franz Liedke
2a3240b9d1 Travis: Use pre-installed Composer
I also disabled the XDebug extension for the PHP runtime, which should
improve Composer runtime considerably. This is what Composer itself does.
2016-01-20 22:22:13 +01:00
Franz Liedke
c719cc6d8a Travis: Test on PHP 7 and HHVM, too 2015-11-02 08:11:22 +01:00
Franz Liedke
3e14ef0714 Fix last commit 2015-08-30 15:02:48 +02:00
Franz Liedke
c999226449 Travis: Use Composer scripts 2015-08-30 15:00:01 +02:00
Toby Zerner
0b8aa5c124 Add header comment; PSR-2 fixes; remove seeders 2015-08-26 16:56:32 +09:30
Franz Liedke
1675d26723 Run PhpSpec on TravisCI 2015-07-15 23:52:03 +02:00
Toby Zerner
85049feb26 Speed up Travis builds
http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-
infrastructure/
2015-07-05 21:22:51 +09:30
Franz Liedke
7fe0fc46af Travis: Send an email for the first failed build
This will notify the committer whenever a build starts failing,
but not on subsequent failures (in order not to annoy @tobscure).
2015-05-19 02:14:56 +02:00
Franz Liedke
fe9c85a527 Let's not test migrations for code style.
PHPCS (on Travis, not locally?) is complaining about these classes
not being namespaced. Meh.
2015-05-19 02:08:47 +02:00
Franz Liedke
9870960afc Travis: Only test against PHP 5.4
This is enough for now since we don't have any unit tests, only
code standard checks.
2015-05-19 01:24:11 +02:00
Franz Liedke
dfc3a82ff6 Also check code style in migrations folder. 2015-05-19 01:22:34 +02:00
Toby Zerner
cec8f0aa25 Stop emailing me, Travis! :)
Looks like the newlines were changed too?
2015-05-18 15:45:12 +09:30
Franz Liedke
aae3e989c4 Configure Travis CI to run PSR-2 code style checks
Also configures Gitter integration.
2015-05-11 10:43:15 +02:00
Toby Zerner
74db323f83 Hello world! 2014-12-20 16:56:46 +10:30