1 # Configuration file for unit test runner at http://travis-ci.org/#!/drush-ops/drush
9 - /^[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+.*$/
12 # See master-fulltest branch for broader PHP version testing.
20 - $HOME/.composer/cache
22 # http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
27 - TEST_DIR=isolation ISOLATION_INSTALL='install --prefer-dist'
28 - TEST_DIR=isolation ISOLATION_INSTALL='update --prefer-dist --prefer-lowest'
29 - TEST_DIR=isolation ISOLATION_INSTALL='update --prefer-dist'
32 - secure: VfYokT2CchfuBRJp9/gSwfVGPfsVfkZdDVEuNWEqxww3z4vq+5aLKqoCtPL54E5EIMjhyCE3GVo+biG35Gab1KOVgUs8zD1hAUWA1FPKfMFhoPDfI3ZJC2rX2T1iWK4ZR90pBtcPzS+2OObzTYz8go0PfeSTT6eq69Na1KcNLaE=
34 - UNISH_DB_URL=mysql://root:@127.0.0.1
40 - echo 'mbstring.http_input = pass' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
41 - echo 'mbstring.http_output = pass' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
42 - echo 'memory_limit = -1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
44 # Build a System-Under-Test.
46 - composer -n --working-dir=${PWD}/$TEST_DIR $ISOLATION_INSTALL
49 - phpenv config-rm xdebug.ini
50 - echo 'sendmail_path = /bin/true' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
51 # - echo "sendmail_path='true'" >> `php --ini | grep "Loaded Configuration" | awk '{print $4}'`
54 - cd $TEST_DIR && phpunit
57 # Publish updated API documentation on every push to the master branch
58 - git config --global user.email $GITHUB_USER_EMAIL
59 - git config --global user.name "Drush Documentation Bot"
60 - cd $TRAVIS_BUILD_DIR && build/scripts/publish-api-docs.sh
61 # Background: https://github.com/drush-ops/drush/pull/1426
62 #- ${PWD}/tests/testChildren.sh