pickles/.travis.yml
Josh Sherman 6c148c124e Added self-update to the travis build
Making this a standard thing in my travis scripts because it seems they let the
version go stale pretty regularly.
2014-10-04 11:10:59 -04:00

39 lines
607 B
YAML

language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
matrix:
allow_failures:
- php: hhvm
branches:
only:
- master
- 2.0
- 1.9
services:
- memcache
- memcached
- redis
install:
- composer self-update
- composer install
before_script:
- ./tests/travis.sh
- mysql -e "create database IF NOT EXISTS test;" -u root
- mysql test < tests/schema.sql -u root
- mkdir -p build/logs
- phpenv rehash
script:
- phpunit --coverage-clover /home/travis/build/picklesphp/pickles/build/logs/clover.xml
after_success:
- php vendor/bin/coveralls --config ../.coveralls.yml -v