Skip to content

Commit 38aab1c

Browse files
committed
hotfix travis composer
1 parent bbcbb08 commit 38aab1c

2 files changed

Lines changed: 12 additions & 6 deletions

File tree

.travis.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
language: php
22

33
php:
4-
- "5.4"
5-
- "5.5"
6-
- "5.6"
7-
- "7.0"
4+
- "7.2"
85
- "7.1"
6+
- "7.0"
7+
- "5.6"
98

109
env:
1110
- CONTAO_VERSION=~3.5.5
1211

1312
sudo: false
1413

14+
before_install:
15+
- echo "memory_limit = -1" > travis.php.ini && phpenv config-add travis.php.ini
16+
1517
install:
1618
- travis_retry composer self-update && composer --version
1719
- travis_retry composer require contao/core $CONTAO_VERSION --no-update
@@ -22,3 +24,7 @@ script: ant -keep-going
2224
# Hack to make things work again - we can not use a shallow repository.
2325
git:
2426
depth: 2147483647
27+
28+
cache:
29+
directories:
30+
- vendor

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
],
1010
"type": "contao-module",
1111
"homepage": "http://now.metamodel.me/",
12-
"license": "LGPL-3.0+",
12+
"license": "LGPL-3.0-or-later",
1313
"authors": [
1414
{
1515
"name": "Christian Schiffler",
@@ -31,7 +31,7 @@
3131
"source": "https://github.com/MetaModels/filter_range"
3232
},
3333
"require": {
34-
"php": ">=5.4",
34+
"php": "^5.6 || ^7.0",
3535
"contao/core": "^3.5.5",
3636
"contao-community-alliance/composer-plugin": "~2.0",
3737
"metamodels/core": "~2.0"

0 commit comments

Comments
 (0)