{"id":15525105,"url":"https://github.com/staabm/hhvm-on-travisci","last_synced_at":"2025-06-25T22:06:29.803Z","repository":{"id":11411408,"uuid":"13861003","full_name":"staabm/hhvm-on-travisci","owner":"staabm","description":null,"archived":false,"fork":false,"pushed_at":"2013-10-25T13:05:10.000Z","size":164,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-05T11:39:12.274Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/staabm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-25T13:16:08.000Z","updated_at":"2014-10-09T08:40:25.000Z","dependencies_parsed_at":"2022-08-29T20:00:13.872Z","dependency_job_id":null,"html_url":"https://github.com/staabm/hhvm-on-travisci","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/staabm/hhvm-on-travisci","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staabm%2Fhhvm-on-travisci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staabm%2Fhhvm-on-travisci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staabm%2Fhhvm-on-travisci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staabm%2Fhhvm-on-travisci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/staabm","download_url":"https://codeload.github.com/staabm/hhvm-on-travisci/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staabm%2Fhhvm-on-travisci/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261960542,"owners_count":23236574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T10:54:44.683Z","updated_at":"2025-06-25T22:06:29.779Z","avatar_url":"https://github.com/staabm.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"HHVM on Travis-CI\n=================\n\n[![Build\nStatus](https://travis-ci.org/willdurand/hhvm-on-travisci.png?branch=master)](https://travis-ci.org/willdurand/hhvm-on-travisci)\n\nDoes your PHP project behave as expected on [HHVM](http://www.hiphop-php.com/)?\nDo you want to give HHVM a try? If you are using [Travis-CI](https://travis-ci.org)\nto run your test suite, then **this** is for you!\n\nHere is how your `.travis.yml` file should look like:\n\n``` yaml\nlanguage: php\n\nphp:\n    - 5.4\n    - 5.5\n\nenv:\n    - HHVM=true\n    - HHVM=false\n\nbefore_install:\n    - PHP_VERSION=`phpenv global`\n    #\n    # HHVM + PHP 5.5 = \u003c3\n    #\n    # 1. We install HHVM\n    # 2. We configure a script to run the test suite with HHVM\n    #\n    - if [[ \"$HHVM\" == true \u0026\u0026 \"5.5\" == \"$PHP_VERSION\" ]] ; then sudo bin/install_hhvm; export SCRIPT=\"hhvm --version\"; fi\n    #\n    # HHVM but not PHP 5.5, we properly exit\n    #\n    - if [[ \"$HHVM\" == true \u0026\u0026 \"5.5\" != \"$PHP_VERSION\" ]] ; then export SCRIPT=\"exit\"; fi\n    #\n    # Not HHVM? We configure a script to run the test suite using PHP\n    #\n    - if [[ \"$HHVM\" == false ]] ; then export SCRIPT=\"php --version\"; fi\n\nscript: \"$SCRIPT\"\n```\n\nIn the example above, it runs 4 jobs, but only 3 are useful: PHP 5.4, PHP 5.5\nand HHVM.\n\n**Note:** You need PHP 5.5 as Composer has a few issues while running on HHVM,\nso it is ok to install HHVM in a PHP 5.5 environment. It allows you to run\nComposer using PHP, and to run your test suite using HHVM.\n\nHere is a **real example**:\n[willdurand/JsonpCallbackValidator](https://github.com/willdurand/JsonpCallbackValidator/commit/b2250f22444b4660fc42357a753f7974024823b1).\nIt takes less than one minute to install HHVM, so it is not that bad :)\n\nWilliam.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaabm%2Fhhvm-on-travisci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstaabm%2Fhhvm-on-travisci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaabm%2Fhhvm-on-travisci/lists"}