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

Commit 372533d

Browse files
author
Cliff Odijk
committed
Drop support for php 5.4 and 5.5
Add travis for php 7.1
1 parent 126c3a4 commit 372533d

2 files changed

Lines changed: 21 additions & 17 deletions

File tree

.travis.yml

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,31 @@
1-
language: php
1+
sudo: false
22

3-
php:
4-
- 5.4
5-
- 5.5
6-
- 5.6
7-
- 7.0
8-
- hhvm
3+
language: php
94

105
matrix:
11-
allow_failures:
12-
- php: hhvm
6+
include:
7+
- php: 5.6
8+
- php: 7.0
9+
- php: 7.1
10+
env: SYMFONY_VERSION=2.7.*
11+
- php: 7.1
12+
env: SYMFONY_VERSION=2.8.*
13+
- php: 7.1
14+
env: SYMFONY_VERSION=3.3.*
15+
16+
env:
17+
global:
18+
- SYMFONY_VERSION=""
1319

1420
before_install:
15-
- composer self-update
21+
- composer self-update
22+
- if [ "$SYMFONY_VERSION" != "" ]; then composer require --no-update symfony/console:$SYMFONY_VERSION symfony/process:$SYMFONY_VERSION symfony/finder:$SYMFONY_VERSION; fi
1623

1724
install:
18-
- composer install --no-progress
25+
- composer install --prefer-dist
1926

2027
script:
21-
- bin/phpunit
28+
- vendor/bin/phpunit
2229

2330
after_success:
24-
- bash <(curl -s https://codecov.io/bash)
31+
- bash <(curl -s https://codecov.io/bash)

composer.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
],
1414
"require": {
15-
"php": "^5.4|^7.0",
15+
"php": "^5.6 || ^7.0",
1616
"simple-bus/message-bus": "~2.0",
1717
"simple-bus/asynchronous-bundle": "~2.0",
1818
"simple-bus/asynchronous": "~2.0",
@@ -42,8 +42,5 @@
4242
"psr-4": {
4343
"SimpleBus\\BernardBundleBridge\\Tests\\": "tests"
4444
}
45-
},
46-
"config": {
47-
"bin-dir": "bin"
4845
}
4946
}

0 commit comments

Comments
 (0)