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

Commit 1cc76a1

Browse files
WIP
1 parent 52d1b59 commit 1cc76a1

File tree

1 file changed

+2
-64
lines changed

1 file changed

+2
-64
lines changed

.travis.yml

+2-64
Original file line numberDiff line numberDiff line change
@@ -25,77 +25,15 @@ stages:
2525
jobs:
2626
allow_failures:
2727
env:
28+
- SYMFONY_VERSION="^5.1"
2829
- CAN_FAIL=true
2930
include:
30-
- stage: analysis
31-
name: "php-cs-fixer"
32-
before_install:
33-
- make pull-docker-image
34-
script:
35-
- make php-cs-fixer
36-
- name: "phpstan"
37-
before_install:
38-
- make pull-docker-image
39-
- echo "memory_limit = -1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
40-
install:
41-
- make composer-install
42-
script:
43-
- make phpstan
44-
45-
- stage: test
46-
name: "PHP 7.2 / Symfony 3.4"
47-
php: 7.2
48-
env:
49-
- SYMFONY_VERSION="^3.4"
50-
before_install:
51-
- phpenv config-rm xdebug.ini
52-
- echo "memory_limit = -1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
53-
54-
install:
55-
- make composer-require-symfony-version
56-
- make composer-install
57-
58-
script:
59-
- make tests
60-
61-
- name: "PHP 7.3 / Symfony 4.4 / Code coverage"
62-
php: 7.3
63-
env:
64-
- SYMFONY_VERSION="^4.4"
65-
# Only send code coverage to Code Climate for the current versions of PHP and Symfony LTS
66-
# https://github.com/doctrine/doctrine2/blob/3570f4a49afc7e98fed71e0596dded6a39d4fd7b/.travis.yml#L16
67-
before_install:
68-
- echo "memory_limit = -1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
69-
- DEPENDENCY="codeclimate/php-test-reporter:~0.3 satooshi/php-coveralls:~1.0"
70-
71-
install:
72-
- make composer-require-symfony-version
73-
- make composer-install
74-
75-
script:
76-
- make phpspec
77-
- php ./vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml
78-
- make behat
79-
80-
after_success:
81-
- php ./vendor/bin/test-reporter
82-
- travis_retry php vendor/bin/coveralls -v --config .coveralls.yml
83-
8431
- stage: tests allowed to fail
8532
name: "PHP 7.4 / Symfony 5.1"
8633
php: 7.4
8734
env:
8835
- SYMFONY_VERSION="^5.1"
8936
- CAN_FAIL=true
90-
before_install:
91-
- phpenv config-rm xdebug.ini
92-
- echo "memory_limit = -1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
93-
94-
install:
95-
- make composer-require-symfony-version
96-
- make composer-install
9737

9838
script:
99-
- make phpspec
100-
- php ./vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml
101-
- make behat
39+
- return 1

0 commit comments

Comments
 (0)