Travis: Remove in-browser tests

Yeah, we'd need to setup a test account on some IMAP server which
would be publicly available. I'm not sure we can do that.
Also, we'd need to add config-tests.inc.php file and maybe use sqlite database.
pull/7135/head
Aleksander Machniak 5 years ago
parent 0ea8e9c289
commit 7ebc159780

@ -14,9 +14,6 @@ matrix:
env: CODE_COVERAGE=1
- php: 7.2
- php: 7.3
env: BROWSER_TESTS=1
addons:
chrome: stable
- php: 7.4
cache:
@ -26,13 +23,11 @@ cache:
install:
- if [ "$CODE_COVERAGE" != 1 ]; then phpenv config-rm xdebug.ini || true; fi
- cp composer.json-dist composer.json
- if [ "$BROWSER_TESTS" = 1 ]; then composer require "laravel/dusk:~5.7.0" --no-update; fi
- composer remove endroid/qr-code --no-update
- composer install --prefer-dist
script:
- if [ "$CODE_COVERAGE" = 1 ]; then CODE_COVERAGE_ARGS="--coverage-text"; fi; vendor/bin/phpunit -c tests/phpunit.xml $CODE_COVERAGE_ARGS
- if [ "$BROWSER_TESTS" = 1 ]; then vendor/bin/phpunit -c tests/Browser/phpunit.xml; fi
notifications:
email: false

Loading…
Cancel
Save