Commit Graph

90 Commits

Author SHA1 Message Date
Jérémy Benoist
883ccc235e
Re-add nightly 2019-07-26 16:37:12 +02:00
Jérémy Benoist
affa6602f0
Test on PHP 7.4 instead of PHP 8.0 on Travis
PHP 7.4 will be available before the 8.0
2019-07-26 13:59:39 +02:00
Jeremy Benoist
d0cf488dd4
Remove PHPUnit lock
It should now be PHPUnit 7.4.
Update PHPStan configuration accordingly.
Also, enable `inferPrivatePropertyTypeFromConstructor` for better phpDoc support in constructors.
2019-07-08 14:12:53 +02:00
Jeremy Benoist
865707f929
Fix Travis build on Xenial dist 2019-06-12 20:34:12 +02:00
Jeremy Benoist
1ca9310f5e
Setup Imagick for Travis
To avoid error from phpstan about class not found
2019-05-10 15:47:47 +02:00
Jeremy Benoist
7485a272ff
Revert PG on Travis about drop/create the database 2019-01-23 13:47:51 +01:00
Jeremy Benoist
6df8b9c6a9
Fix PG & Travis drop/create database 2019-01-23 13:28:24 +01:00
Jeremy Benoist
e19fc02665
Avoid creating PG database on Travis
And Travis build on PHP 7.3 should not fail.
2019-01-22 21:43:15 +01:00
Jeremy Benoist
1e0d8ad7b7
Enable PHPStan
- Fix error for level 0 & 1 (level 7 has 699 errors...)
- Add `updated_at` to site_credential (so the `timestamps()` method applies correctly)
2019-01-18 15:25:50 +01:00
Jeremy Benoist
f168642b50
Force PHPUnit
Looks like "dama/doctrine-test-bundle" isn't compatible with PHPUnit 5.7
(required automatically by PHPUnit Bridge)
2018-11-28 22:04:55 +01:00
Jeremy Benoist
6fc95673df
Cleanup 2018-11-28 22:04:54 +01:00
Jeremy Benoist
5a4cbf5b70
Create a custom swap to avoid error 2018-11-23 22:11:10 +01:00
Jeremy Benoist
d470f817ac
Use new Travis infra 2018-11-23 22:11:04 +01:00
Jérémy Benoist
04f85fd9a8
PHP 7.2 shouldn't fail 2018-09-06 07:58:26 +02:00
adev
e36c85eb79 Fix travis fold 2017-11-21 21:35:17 +01:00
adev
2054740fdb Fold travis make prepare 2017-11-21 21:35:16 +01:00
adev
18fb777b89 Add an initial migration 2017-11-21 21:35:16 +01:00
Kevin Decherf
8bde7de1ee Replace ant with Makefile
Fixes #1735

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2017-11-19 12:33:21 +01:00
Jérémy Benoist
9ab45e6813 Testing on PHP 7.2 2017-07-24 15:48:53 +02:00
Jeremy Benoist
38520658ad
Fix tests 2017-07-03 07:30:54 +02:00
Jeremy Benoist
1f155b29db
Fold migrations & fixtures command on Travis 2017-05-19 13:10:44 +02:00
Jeremy Benoist
c44d13f9ea
Cache yarn cache in Travis 2017-05-09 22:53:01 +02:00
Thomas Citharel
4cea76b0cf Use npm script instead of direct webpack call
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2017-05-04 14:49:44 +02:00
Thomas Citharel
42a2139b8f fix travis 2017-05-04 14:49:44 +02:00
Thomas Citharel
64f81bc316 Adds Webpack support and removes the use for Grunt
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

use scss

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

fix build, add babel, fix annotations

fixes (and improvements !) for baggy

add live reload & environments & eslint & theme fixes
2017-05-04 14:49:44 +02:00
Jérémy Benoist
6ae579e43f Merge pull request #2861 from wallabag/2.3-droping-5.5
Dropping PHP 5.5
2017-03-28 13:18:17 +02:00
Jeremy Benoist
5a73f94590
Use wallabag/tcpdf
It should restore the PHP 7.1 compatibility
2017-02-24 15:05:45 +01:00
Jeremy Benoist
4cb9e0aad1
Dropping PHP 5.5 2017-02-11 12:02:35 +01:00
Jeremy Benoist
202a66ce02
Use simple-phpunit instead of phpunit
To avoid problem with the Yaml constant
http://symfony.com/blog/how-to-solve-phpunit-issues-in-symfony-3-2-applications
2016-12-13 09:33:06 +01:00
Jeremy Benoist
4da598c5df
Fix Travis 2016-11-22 21:23:58 +01:00
Jeremy Benoist
b669224762
Validate ALL translations files 2016-10-20 21:11:09 +02:00
Thomas Citharel
3c00779dc3
try to reduce assets build npm connection failing by updating nodejs 2016-10-05 15:05:42 +02:00
Thomas Citharel
57386125ab Merge pull request #2353 from wallabag/assets-fix
Basically, fix everything
2016-10-04 16:26:50 +02:00
Thomas Citharel
9f7d154e34
Add eslint & stylelint tests (fix a few things) and move dependencies to dev 2016-10-04 12:14:28 +02:00
Jeremy Benoist
9a6ac0b47a
👋 HHVM 2016-10-04 11:20:58 +02:00
Jeremy Benoist
f440e28281
Update doc
Merge VALIDATE_TRANSLATION_FILE & ASSET build (less build on Travis)
2016-10-04 10:31:03 +02:00
Jeremy Benoist
ca8f9bdc15
Fix font & Travis
Grunt now copy fonts instead of symlink (node_modules won't exist for the end user)
2016-10-04 10:10:40 +02:00
Jeremy Benoist
10f51f429d Update .travis.yml 2016-10-04 07:25:05 +02:00
Thomas Citharel
96a99d4375 Fix grunt path 2016-10-04 01:00:14 +02:00
Thomas Citharel
5759c9aac1
remove install scripts and tweak travis 2016-10-03 23:21:02 +02:00
Jeremy Benoist
4ac780eb21
Use install_dev.sh for Travis
Add `--no-dev` to `composer install` for prod env
2016-10-03 14:35:42 +02:00
Jeremy Benoist
7230e4c39f
Enable Redis on Travis
Add generated files from `composer up`
Add more articles for Readability tests
2016-09-11 21:58:57 +02:00
Nicolas Lœuillet
e31ee20dd7
Add RabbitMQ service for Travis CI 2016-09-11 21:57:09 +02:00
Jeremy Benoist
40c47f7023
Check if asset is enable instead of opposite
Instead of defining ASSETS all the time, just define it when we want to
use it
Might give us more clearer build
2016-09-09 21:30:14 +02:00
Jeremy Benoist
cdd3010b47
Merge remote-tracking branch 'origin/master' into 2.1 2016-08-28 16:15:27 +02:00
Jeremy Benoist
ddb49dd931 Allow failure for PHP 7.1
Got tired of `EE/home/travis/build.sh: line 45:  4445 Segmentation fault      (core dumped) phpunit -v` using PHP 7.1.0beta3
2016-08-24 10:49:43 +02:00
Jeremy Benoist
79efca1e6f
Merge remote-tracking branch 'origin/master' into 2.1 2016-08-22 23:03:16 +02:00
Jeremy Benoist
db4d63fc1a
Upgrade PHPUnit to version 5
- Fix deprecated getMock
- Use PHPUnit 4 for PHP 5.5 build

Manually cherry-picked from PR
https://github.com/wallabag/wallabag/pull/2201
2016-08-22 20:16:50 +02:00
Jeremy Benoist
fc41abb990 Run tests on an uptodate HHVM
Using some tricks from symfony/symfony
2016-08-17 16:41:36 +02:00
Jeremy Benoist
6dfac457d8 Fix tests
Ensure tests after the InstallCommand test will have a clean database.
Previous attempt failed because of a foreign key

Also, nightly on Travis seems to target PHP 7.2-dev, so I put 7.1 in requirement and moved nightly in allowed failures.
And it seems xdebug isn't shipped with PHP 7.1, so I added a workaround to avoid build to fail when trying to remove xdebug.ini file.
2016-08-17 14:34:39 +02:00