Skip to content

Commit

Permalink
Merge pull request #27 from jmikola/update-travis
Browse files Browse the repository at this point in the history
Fix Travis CI builds for 2.0
  • Loading branch information
jmikola committed Apr 3, 2020
2 parents b315c82 + ce9cd54 commit d350271
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 23 deletions.
49 changes: 27 additions & 22 deletions .travis.yml
@@ -1,30 +1,35 @@
language: php

sudo: false
dist: xenial

cache:
directories:
- $HOME/.composer/cache
directories:
- ${HOME}/.composer/cache/files

env:
global:
- COMPOSER_OPTIONS=

php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
jobs:
include:
- stage: Smoke Testing
php: "7.3"

matrix:
fast_finish: true
allow_failures:
- php: hhvm
# Test remaining supported PHP versions
- stage: Test
php: "7.1"
- stage: Test
php: "7.2"
- stage: Test
php: "7.4"

include:
- php: 5.3
env: COMPOSER_FLAGS="--prefer-lowest"
# Test against lowest supported dependencies
- stage: Test
php: "7.1"
env:
- COMPOSER_OPTIONS=--prefer-lowest

before_install:
- travis_retry composer self-update
before_script:
- composer update --no-interaction --no-progress --no-suggest --prefer-dist --prefer-stable ${COMPOSER_OPTIONS}

install:
- composer update ${COMPOSER_FLAGS} --no-interaction
script:
- vendor/bin/phpunit -v
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -17,7 +17,7 @@
"jmikola/auto-login": "^2.0"
},
"require-dev": {
"matthiasnoback/symfony-dependency-injection-test": "^4.0",
"matthiasnoback/symfony-dependency-injection-test": "^3.0 || ^4.0",
"phpunit/phpunit": "^7.0 || ^8.0",
"symfony/browser-kit": "^4.3 || ^5.0",
"symfony/framework-bundle": "^4.3 || ^5.0"
Expand Down

0 comments on commit d350271

Please sign in to comment.