deployer/.travis.yml
Daisuke Tsuji 688b31de59 Speedup Travis CI (#1731)
* enable composer cache on Travis CI

* using Container on Travis CI
2018-10-10 12:35:01 +07:00

41 lines
637 B
YAML

language: php
sudo: false
php:
- 7.0
- 7.1
- 7.2
env:
matrix:
- COMPOSER_FLAGS="--prefer-lowest"
- COMPOSER_FLAGS="--prefer-stable"
cache:
directories:
- $HOME/.composer/cache/files
addons:
apt:
packages:
- acl
install:
- composer self-update
- composer update --no-interaction --prefer-dist $COMPOSER_FLAGS
script:
- vendor/bin/phpunit --coverage-clover=coverage.xml
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/3ffa605389816ec39774
on_success: change
on_failure: always
on_start: never