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

Commit 60767db

Browse files
Fix Travis CI
1 parent 0a21bf6 commit 60767db

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.travis.yml

+10-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,18 @@ 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+
- SYMFONY_VERSION="^5.1"
29+
- CAN_FAIL=true
2530
include:
2631
- stage: analysis
2732
name: "php-cs-fixer"
@@ -77,10 +82,12 @@ jobs:
7782
- php ./vendor/bin/test-reporter
7883
- travis_retry php vendor/bin/coveralls -v --config .coveralls.yml
7984

80-
- name: "PHP 7.4 / Symfony 5.1"
85+
- stage: tests allowed to fail
86+
name: "PHP 7.4 / Symfony 5.1"
8187
php: 7.4
8288
env:
8389
- SYMFONY_VERSION="^5.1"
90+
- CAN_FAIL=true
8491
before_install:
8592
- phpenv config-rm xdebug.ini
8693
- echo "memory_limit = -1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
@@ -93,7 +100,3 @@ jobs:
93100
- make phpspec
94101
- php ./vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml
95102
- make behat
96-
97-
allow_failures:
98-
- php: 7.4
99-
env: SYMFONY_VERSION=^5.1

0 commit comments

Comments
 (0)