Skip to content

Commit

Permalink
Remove HHVM and PHP 5.5, add PHP 7.1+
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Apr 5, 2020
1 parent 0ecf261 commit e03cd7f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 17 deletions.
20 changes: 12 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,22 @@
language: php

php:
- 5.5
- 5.6
- 7.0
- hhvm
- 7.1
- 7.2
- 7.3
- 7.4
- nightly

matrix:
allow_failures:
- php: nightly

before_script:
- wget 'https://github.com/xp-framework/xp-runners/releases/download/v5.6.1/setup' -O - | php
- curl -sSL https://dl.bintray.com/xp-runners/generic/xp-run-8.1.7.sh > xp-run
- composer install --prefer-dist
- echo "vendor/autoload.php" >> composer.pth
- echo "use=vendor/xp-framework/core" > xp.ini
- echo "[runtime]" >> xp.ini
- echo "date.timezone=Europe/Berlin" >> xp.ini
- echo "vendor/autoload.php" > composer.pth

script:
- ./unittest src/test/php
- sh xp-run xp.unittest.TestRunner src/test/php
16 changes: 7 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@
"description" : "Web tests for the XP Framework",
"keywords": ["module", "xp"],
"require" : {
"xp-framework/core": "^6.5",
"xp-framework/http": "^6.0",
"xp-framework/xml": "^6.0",
"xp-framework/scriptlet": "^6.0",
"xp-framework/logging": "^6.5",
"xp-framework/patterns": "^6.6",
"xp-framework/networking": "^6.6",
"xp-framework/unittest": "^6.7",
"php" : ">=5.5.0"
"xp-framework/core": "^10.0 | ^9.0 | ^8.0 | ^7.0 | ^6.5",
"xp-framework/http": "^9.0 | ^8.0 | ^7.0 | ^6.5",
"xp-framework/xml": "^9.0 | ^8.0 | ^7.0 | ^6.5",
"xp-framework/logging": "^9.0 | ^8.0 | ^7.0 | ^6.5",
"xp-framework/patterns": "^8.0 | ^7.0 | ^6.5",
"xp-framework/unittest": "^11.0 | ^10.0 | ^9.0 | ^8.0 | ^7.0 | ^6.5",
"php" : ">=5.6.0"
},
"autoload" : {
"files" : ["src/main/php/autoload.php"]
Expand Down

0 comments on commit e03cd7f

Please sign in to comment.