From 68a48f957e98dca12ca162201b36599e16ecfdbd Mon Sep 17 00:00:00 2001 From: chihiro-adachi Date: Thu, 2 Mar 2017 10:03:51 +0900 Subject: [PATCH] debug --- .travis.yml | 76 ++++++++++++++++++++++++++--------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4e7508d4b3b..e41e1c96140 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,44 +10,44 @@ cache: - vendor - $HOME/.composer/cache php: - - 5.3 - - 5.4 - - 5.5 - - 5.6 +# - 5.3 +# - 5.4 +# - 5.5 +# - 5.6 - 7.0 - - 7.1 +# - 7.1 matrix: fast_finish: true - include: - - php: 7.0.12 # for coverrage - env: DB=pgsql USER=postgres DBNAME=myapp_test DBPASS=password DBUSER=postgres PHP_SAPI=phpdbg - sudo: required - dist: trusty - exclude: - - php: 5.3 - env: DB=pgsql USER=postgres DBNAME=myapp_test DBPASS=password DBUSER=postgres PHP_SAPI=phpdbg - - php: 5.4 - env: DB=pgsql USER=postgres DBNAME=myapp_test DBPASS=password DBUSER=postgres PHP_SAPI=phpdbg - - php: 5.5 - env: DB=pgsql USER=postgres DBNAME=myapp_test DBPASS=password DBUSER=postgres PHP_SAPI=phpdbg - - php: 5.6 - env: DB=pgsql USER=postgres DBNAME=myapp_test DBPASS=password DBUSER=postgres PHP_SAPI=phpdbg - - php: 7.0 - env: DB=pgsql USER=postgres DBNAME=myapp_test DBPASS=password DBUSER=postgres PHP_SAPI=phpdbg - - php: 7.1 - env: DB=pgsql USER=postgres DBNAME=myapp_test DBPASS=password DBUSER=postgres PHP_SAPI=phpdbg - allow_failures: - - env: DB=sqlite - - php: 7.1 - - php: 7.0.12 # dist: trusty を動かすためのダミー. 実際にテストは実行されない - env: DB=pgsql USER=postgres DBNAME=myapp_test DBPASS=password DBUSER=postgres PHP_SAPI=phpdbg +# include: +# - php: 7.0.12 # for coverrage +# env: DB=pgsql USER=postgres DBNAME=myapp_test DBPASS=password DBUSER=postgres PHP_SAPI=phpdbg +# sudo: required +# dist: trusty +# exclude: +# - php: 5.3 +# env: DB=pgsql USER=postgres DBNAME=myapp_test DBPASS=password DBUSER=postgres PHP_SAPI=phpdbg +# - php: 5.4 +# env: DB=pgsql USER=postgres DBNAME=myapp_test DBPASS=password DBUSER=postgres PHP_SAPI=phpdbg +# - php: 5.5 +# env: DB=pgsql USER=postgres DBNAME=myapp_test DBPASS=password DBUSER=postgres PHP_SAPI=phpdbg +# - php: 5.6 +# env: DB=pgsql USER=postgres DBNAME=myapp_test DBPASS=password DBUSER=postgres PHP_SAPI=phpdbg +# - php: 7.0 +# env: DB=pgsql USER=postgres DBNAME=myapp_test DBPASS=password DBUSER=postgres PHP_SAPI=phpdbg +# - php: 7.1 +# env: DB=pgsql USER=postgres DBNAME=myapp_test DBPASS=password DBUSER=postgres PHP_SAPI=phpdbg +# allow_failures: +# - env: DB=sqlite +# - php: 7.1 +# - php: 7.0.12 # dist: trusty を動かすためのダミー. 実際にテストは実行されない +# env: DB=pgsql USER=postgres DBNAME=myapp_test DBPASS=password DBUSER=postgres PHP_SAPI=phpdbg env: - DB=mysql USER=root DBNAME=myapp_test DBPASS=' ' DBUSER=root - - DB=pgsql USER=postgres DBNAME=myapp_test DBPASS=password DBUSER=postgres - - DB=pgsql USER=postgres DBNAME=myapp_test DBPASS=password DBUSER=postgres PHP_SAPI=phpdbg - - DB=sqlite +# - DB=pgsql USER=postgres DBNAME=myapp_test DBPASS=password DBUSER=postgres +# - DB=pgsql USER=postgres DBNAME=myapp_test DBPASS=password DBUSER=postgres PHP_SAPI=phpdbg +# - DB=sqlite install: - gem install mime-types -v 2.99.1 @@ -64,14 +64,14 @@ before_script: script: # PHP7 + precise のテストは実行されない - if [[ $PHP_SAPI = 'phpdbg' ]] && [[ $CODENAME = 'trusty' ]]; then phpdbg -qrr ./vendor/bin/phpunit --coverage-clover=coverage.clover ; fi - - if [[ $PHP_SAPI != 'phpdbg' ]]; then phpunit ; fi + - if [[ $PHP_SAPI != 'phpdbg' ]]; then phpunit tests/Eccube/Tests/Entity ; fi -after_script: - - if [[ $PHP_SAPI = 'phpdbg' ]]; then wget https://scrutinizer-ci.com/ocular.phar ; fi - - if [[ $PHP_SAPI = 'phpdbg' ]]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover ; fi - -after_success: - - if [[ $PHP_SAPI = 'phpdbg' ]]; then php vendor/bin/coveralls -v -x coverage.clover ; fi +#after_script: +# - if [[ $PHP_SAPI = 'phpdbg' ]]; then wget https://scrutinizer-ci.com/ocular.phar ; fi +# - if [[ $PHP_SAPI = 'phpdbg' ]]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover ; fi +# +#after_success: +# - if [[ $PHP_SAPI = 'phpdbg' ]]; then php vendor/bin/coveralls -v -x coverage.clover ; fi before_deploy: # php7.0 + mysql のmatrixでリリース用パッケージを作成する.