pickles/.travis.yml
Josh Sherman 5b2f483fa5 Added script to set up extension
As per https://github.com/travis-ci/travis-ci/issues/2523 it appears that the
php.ini on hhvm is in a different place. Created a script to write the
extensions to the right php.ini based on the environment.
2014-10-02 21:47:01 -04:00

42 lines
646 B
YAML

language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
- hhvm-nightly
matrix:
allow_failures:
- php: 5.3
- php: hhvm
- php: hhvm-nightly
branches:
only:
- master
- 2.0
- 1.9
services:
- memcache
- memcached
- redis
install:
- 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/joshtronic/pickles/build/logs/clover.xml
after_success:
- php vendor/bin/coveralls --config ../.coveralls.yml -v