Skip to content

Commit

Permalink
Configura Travis para novo suporte do PHP
Browse files Browse the repository at this point in the history
- Remove testes com Laravel Dusk
- Remove suporte ao PHP 7.2
- Adiciona suporte ao PHP 7.4
  • Loading branch information
edersoares committed Apr 7, 2020
1 parent d364452 commit c088f05
Showing 1 changed file with 1 addition and 41 deletions.
42 changes: 1 addition & 41 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,49 +2,11 @@ matrix:

include:

- language: php

php:
- '7.2'

sudo: required

dist: xenial

addons:
postgresql: '9.5'
chrome: stable

cache:
directories:
- $HOME/.composer/cache

before_script:
- composer new-install
- php artisan dusk:chrome-driver
- php artisan serve > /dev/null 2>&1 &

script:
- vendor/bin/phpunit
- vendor/bin/phpunit --testsuite Diario
- php artisan dusk

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.3'
- '7.4'

sudo: required

Expand All @@ -60,13 +22,11 @@ matrix:

before_script:
- composer new-install
- php artisan dusk:chrome-driver
- php artisan serve > /dev/null 2>&1 &

script:
- vendor/bin/phpunit
- vendor/bin/phpunit --testsuite Diario
- php artisan dusk

env:
- APP_URL=http://localhost:8000
Expand Down

0 comments on commit c088f05

Please sign in to comment.