Skip to content

Commit

Permalink
Drop HHVM
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdoug committed Nov 12, 2018
1 parent 3b2513f commit 3ae5328
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 28 deletions.
31 changes: 5 additions & 26 deletions .travis.yml
Expand Up @@ -4,10 +4,6 @@ sudo: false

matrix:
include:
- php: hhvm
sudo: required
services:
- docker
- php: 5.4
env: lowest=1
- php: 5.5
Expand All @@ -22,38 +18,21 @@ cache:
- $HOME/.cache/composer/files

install:
- |
if [ "$TRAVIS_PHP_VERSION" = "hhvm" ]; then
docker pull hhvm/hhvm:3.24-lts-latest;
docker run hhvm/hhvm:3.24-lts-latest hhvm --version;
docker run --name hhvmapt hhvm/hhvm:3.24-lts-latest bash -c "apt update -y; apt install -y dialog apt-utils wget curl git";
docker commit hhvmapt dvdoug/hhvm:apt;
docker run --name hhvmcomposer dvdoug/hhvm:apt bash -c "/usr/bin/curl https://getcomposer.org/installer | hhvm --php -- /dev/stdin --install-dir=/usr/local/bin --filename=composer";
docker commit hhvmcomposer dvdoug/hhvm:composer;
else
phpenv config-rm xdebug.ini || true;
fi;
- phpenv config-rm xdebug.ini || true;

- |
if [ "$TRAVIS_PHP_VERSION" = "hhvm" ]; then
docker run -v $(pwd):/var/source dvdoug/hhvm:composer hhvm /usr/local/bin/composer update --working-dir /var/source;
elif [ "$lowest" = "1" ]; then
if [ "$lowest" = "1" ]; then
composer update --prefer-lowest --prefer-stable;
else
composer update;
fi;
before_script:
- |
if [ "$TRAVIS_PHP_VERSION" != "hhvm" ] && [ "$TRAVIS_PHP_VERSION" != "5.4" ] && [ "$TRAVIS_PHP_VERSION" != "5.5" ] && [ "$TRAVIS_PHP_VERSION" != "5.6" ]; then
if [ "$TRAVIS_PHP_VERSION" != "5.4" ] && [ "$TRAVIS_PHP_VERSION" != "5.5" ] && [ "$TRAVIS_PHP_VERSION" != "5.6" ]; then
echo "memory_limit = 3072M" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini;
fi;
script:
- |
if [ "$TRAVIS_PHP_VERSION" = "hhvm" ]; then
docker run -v $(pwd):/var/source -w /var/source dvdoug/hhvm:composer hhvm /var/source/vendor/bin/phpunit;
else
php vendor/bin/phpunit;
php vendor/bin/behat --strict;
fi;
- php vendor/bin/phpunit;
- php vendor/bin/behat --strict;
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -18,7 +18,7 @@ See [documentation](http://boxpacker.readthedocs.io/en/1.x-dev/) for more detail
Requirements
------------

* PHP version 5.4 or higher (including PHP7 and HHVM)
* PHP version 5.4 or higher

License
-------
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.rst
Expand Up @@ -13,7 +13,7 @@ If you don't want to use Composer, the code is available to download from `GitHu

Requirements
------------
BoxPacker is compatible with all versions of PHP 5.4+ (including PHP 7 and HHVM)
BoxPacker is compatible with all versions of PHP 5.4+

Versioning
----------
Expand Down

0 comments on commit 3ae5328

Please sign in to comment.