Merge pull request #103 from kohana/3.3/bug/travis-composer-no-interaction
[kohana-database.git] / .travis.yml
blob212f748406e14ea33f9fa2b2af065b977d810742
1 sudo: false
3 language: php
5 # Only build the main develop/master branches - feature branches will be covered by PRs
6 branches:
7   only:
8     - /^[0-9\.]+\/(develop|master)$/
10 cache:
11   directories:
12     - $HOME/.composer/cache/files
14 php:
15   - 5.3
16   - 5.4
17   - 5.5
18   - 5.6
19   - 7.0
20   - hhvm
22 matrix:
23   include:
24     - php: 5.3
25       env: 'COMPOSER_PHPUNIT="lowest"'
27 before_script:
28   - composer self-update
29   - composer install --prefer-dist --no-interaction
30   - if [ "$COMPOSER_PHPUNIT" = "lowest" ]; then composer update --prefer-lowest --with-dependencies --prefer-dist --no-interaction phpunit/phpunit; fi;
31   - vendor/bin/koharness
33 script:
34   - cd /tmp/koharness && ./vendor/bin/phpunit --bootstrap=modules/unittest/bootstrap.php modules/unittest/tests.php
36 notifications:
37   email: false