Introduced a smoke testing phase on Travis to run SQLite tests and static analysis first

parent e1ed56c2
......@@ -45,6 +45,21 @@ jobs:
- php: nightly
include:
- stage: Smoke Testing
php: 7.2
env: DB=sqlite COVERAGE=yes
- stage: Smoke Testing
php: 7.2
env: PHPStan
install: travis_retry composer install --prefer-dist
script: vendor/bin/phpstan analyse
- stage: Smoke Testing
php: 7.2
env: PHP_CodeSniffer
install: travis_retry composer install --prefer-dist
script: vendor/bin/phpcs
- stage: Test
php: 7.2
env: DB=mysql COVERAGE=yes
......@@ -170,9 +185,6 @@ jobs:
- docker
before_script:
- bash ./tests/travis/install-postgres-11.sh
- stage: Test
php: 7.2
env: DB=sqlite COVERAGE=yes
- stage: Test
php: 7.2
env: DB=sqlsrv COVERAGE=yes
......@@ -319,14 +331,3 @@ jobs:
install:
- composer config minimum-stability dev
- travis_retry composer update --prefer-dist
- stage: Code Quality
php: 7.2
env: PHPStan
install: travis_retry composer install --prefer-dist
script: vendor/bin/phpstan analyse
- stage: Code Quality
php: 7.2
env: PHP_CodeSniffer
install: travis_retry composer install --prefer-dist
script: vendor/bin/phpcs
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment