diff --git a/.travis.yml b/.travis.yml index bd88c24d9bc..5b0613b2bd6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,33 @@ language: php php: - - '7.0' + - '7.1' + + + +addons: + sonarcloud: + organization: kimfml + token: + secure: •••••••••••••••• + +dist: xenial +git: + depth: false env: - - SYMFONY_VERSION="2.0.*" DB=mysql - - SYMFONY_VERSION="dev-master" DB=mysql - - - + - DB=mysql + +install: composer update --no-interaction --no-suggest --no-progress + +before_script: + - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database IF NOT EXISTS yiitest;'; fi" + - composer require atoum/atoum + +script: + #- vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover=coverage-report.clover --log-junit=test-report.xml + - sonar-scanner + diff --git a/config.local.php b/config.local.php new file mode 100644 index 00000000000..81bbcf2309c --- /dev/null +++ b/config.local.php @@ -0,0 +1,3 @@ +