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

Commit 52d1b59

Browse files
Fix Travis CI
1 parent 0a21bf6 commit 52d1b59

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.travis.yml

+9-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
dist: xenial
22

3-
sudo: required
4-
53
language: php
64

75
services:
@@ -17,11 +15,17 @@ cache:
1715
php:
1816
- 7.2
1917

18+
env:
19+
- CAN_FAIL=false
20+
2021
stages:
2122
- analysis
2223
- test
2324

2425
jobs:
26+
allow_failures:
27+
env:
28+
- CAN_FAIL=true
2529
include:
2630
- stage: analysis
2731
name: "php-cs-fixer"
@@ -77,10 +81,12 @@ jobs:
7781
- php ./vendor/bin/test-reporter
7882
- travis_retry php vendor/bin/coveralls -v --config .coveralls.yml
7983

80-
- name: "PHP 7.4 / Symfony 5.1"
84+
- stage: tests allowed to fail
85+
name: "PHP 7.4 / Symfony 5.1"
8186
php: 7.4
8287
env:
8388
- SYMFONY_VERSION="^5.1"
89+
- CAN_FAIL=true
8490
before_install:
8591
- phpenv config-rm xdebug.ini
8692
- echo "memory_limit = -1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
@@ -93,7 +99,3 @@ jobs:
9399
- make phpspec
94100
- php ./vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml
95101
- make behat
96-
97-
allow_failures:
98-
- php: 7.4
99-
env: SYMFONY_VERSION=^5.1

0 commit comments

Comments
 (0)