From 58a2b7dd7f0f2441cde847cb5621c6c4046441ea Mon Sep 17 00:00:00 2001 From: Eder Soares Date: Fri, 13 Mar 2020 19:32:36 -0300 Subject: [PATCH] =?UTF-8?q?Roda=20testes=20na=20vers=C3=A3o=207.4=20do=20P?= =?UTF-8?q?HP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/.travis.yml b/.travis.yml index 7675cb931d..d1636c29b2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,42 @@ matrix: php: - '7.3' + + sudo: required + + dist: xenial + + addons: + postgresql: '9.5' + chrome: stable + + cache: + directories: + - $HOME/.composer/cache + + before_script: + - composer new-install + - php artisan serve > /dev/null 2>&1 & + + script: + - vendor/bin/phpunit + - vendor/bin/phpunit --testsuite Diario + + env: + - APP_URL=http://localhost:8000 + - APP_ENV=testing + - DB_CONNECTION=pgsql + - DB_HOST=localhost + - DB_PORT=5432 + - DB_DATABASE=travis + - DB_USERNAME=postgres + - DB_PASSWORD= + - API_ACCESS_KEY=ieducar-access-key + - API_SECRET_KEY=ieducar-secret-key + + - language: php + + php: - '7.4' sudo: required