mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-16 16:17:43 +03:00
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:
+15
-33
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user