Skip to content
This repository was archived by the owner on Dec 14, 2024. It is now read-only.

Commit d3e4908

Browse files
Revert "Disable tests on Symfony 5"
This reverts commit 55eb07e.
1 parent 7170fef commit d3e4908

2 files changed

Lines changed: 25 additions & 9 deletions

File tree

.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,19 @@ jobs:
7575
after_success:
7676
- php ./vendor/bin/test-reporter
7777
- travis_retry php vendor/bin/coveralls -v --config .coveralls.yml
78+
79+
- name: "PHP 7.4 / Symfony 5.1"
80+
php: 7.4
81+
env:
82+
- SYMFONY_VERSION="^5.1"
83+
before_install:
84+
- echo "memory_limit = -1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
85+
86+
install:
87+
- composer require symfony/config:${SYMFONY_VERSION} symfony/form:${SYMFONY_VERSION} symfony/framework-bundle:${SYMFONY_VERSION} symfony/templating:${SYMFONY_VERSION} symfony/security-csrf:${SYMFONY_VERSION} symfony/var-dumper:${SYMFONY_VERSION} --no-update
88+
- composer install --no-interaction --profile --no-progress
89+
90+
script:
91+
- php ./vendor/bin/phpspec run --format=pretty
92+
- php ./vendor/bin/phpunit $PHPUNIT_FLAGS
93+
- php ./vendor/bin/behat --colors --strict --format=progress -vv

composer.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@
33
"type" : "symfony-bundle",
44
"description" : "Symfony bundle providing a Twitter reader for asynchronous reading",
55
"keywords" : ["symfony", "twitter", "reader", "bundle"],
6-
"homepage": "https://asynctweets.alexislefebvre.com/",
6+
"homepage": "http://asynctweets.alexislefebvre.com/",
77
"license" : "MIT",
88
"authors" : [{
99
"name" : "Alexis Lefebvre",
1010
"email" : "alexislefebvre@gmail.com",
11-
"homepage": "https://alexislefebvre.com/",
11+
"homepage": "http://alexislefebvre.com/",
1212
"role": "Developer"
1313
}],
1414
"require" : {
1515
"php": ">=7.2",
1616
"ext-mbstring": "*",
17-
"symfony/config": "^3.4|^4.2",
18-
"symfony/form": "^3.4|^4.2",
19-
"symfony/framework-bundle": "^3.4|^4.2",
20-
"symfony/security-csrf": "^3.4|^4.2",
21-
"symfony/templating": "^3.4|^4.2",
22-
"symfony/twig-bundle": "^3.4|^4.2",
23-
"symfony/var-dumper": "^3.4|^4.2",
17+
"symfony/config": "~3.4|~4.2",
18+
"symfony/form": "~3.4|~4.2",
19+
"symfony/framework-bundle": "~3.4|~4.2",
20+
"symfony/security-csrf": "~3.4|~4.2",
21+
"symfony/templating": "~3.4|~4.2",
22+
"symfony/twig-bundle": "~3.4|~4.2",
23+
"symfony/var-dumper": "~3.4|~4.2",
2424
"doctrine/orm": "^2.4.8",
2525
"abraham/twitteroauth": "~0.6"
2626
},

0 commit comments

Comments
 (0)