Commit Graph

5 Commits

Author SHA1 Message Date
Alex Palaistras d92b760c17 Update PHP versions, allow building static version of PHP in Docker
This allows for building binaries against `go-php` without needing an accompanying version of the
PHP library. To build a static version of `go-php`, simply set `STATIC=true` as a Make flag, e.g.:

    make docker-build STATIC=true

The resulting `go-php` library will be placed in `.build/env/GOPATH/pkg/...` by default, and can be
used directly, but using the Docker image as a build environment will also work.
2018-06-01 14:22:40 +01:00
Alex Palaistras d0ac95b7ca Update PHP versions for Travis, move Dockerfile to 'golang' image
This adds PHP  7.2.1 as a new target, and updates existing PHP versions to their latest numbers. Be
aware that PHP 7.2.x is as-of-yet untested -- and expected to be buggy.
2018-01-07 17:07:36 +00:00
Alex Palaistras 134daabdc8 Test all supported PHP versions for Travis, fix Docker image reference 2017-10-07 11:39:30 +01:00
Alex Palaistras 55fe974713 travis.yml: Don't pull/build image before install
The Make target for executing tests will pull or build the Docker image if necessary, there's no
need to do it twice.
2017-10-06 15:48:07 +01:00
Alex Palaistras a6232d9fa8 Add basic Travis CI integration
This adds a '.travis.yml' file, for testing against known PHP versions.
2017-10-06 13:56:57 +01:00