Update Travis builds to use Travis-installed PHP instead of Docker

The Docker images currently do not have all the proper dependencies for
some newly-updated dependent packages (i.e. iconv), so we're using
standard Travis for the moment.
This commit is contained in:
Ben Ramsey
2016-06-23 21:14:28 +02:00
parent b4fe3b7387
commit 6da0571b6e
+15 -33
View File
@@ -1,41 +1,23 @@
# Fake out Travis CI, since PHP isn't supported when using their Docker services
language: python
language: php
env:
- PHP_VERSION=5.4.45 ARCH=x86_64
- PHP_VERSION=5.4.45 ARCH=mips
- PHP_VERSION=5.5.32 ARCH=x86_64
- PHP_VERSION=5.5.31 ARCH=mips
- PHP_VERSION=5.6.18 ARCH=x86_64
- PHP_VERSION=5.6.17 ARCH=mips
- PHP_VERSION=7.0.3 ARCH=x86_64
- PHP_VERSION=hhvm ARCH=x86_64
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
sudo: required
sudo: false
addons:
apt:
packages:
- php5-cli
- php5-curl
- qemu-user-static
services:
- docker
install:
- mkdir -p build/logs
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-dist
script:
- bash -ex ./util/run-tests.sh
- mkdir -p build/logs
- ./vendor/bin/parallel-lint src tests
- ./vendor/bin/phpunit --verbose --coverage-clover build/logs/clover.xml
- ./vendor/bin/phpcs src tests --standard=psr2 -sp
after_script:
- php vendor/bin/coveralls
notifications:
webhooks:
urls:
- 'https://webhooks.gitter.im/e/f3356db3405001e47b5e'
on_success: change
on_failure: always
on_start: false