Skip to content

Commit

Permalink
Introduced a smoke testing phase on Travis to run SQLite tests and st…
Browse files Browse the repository at this point in the history
…atic analysis first
  • Loading branch information
morozov committed Dec 14, 2018
1 parent e1ed56c commit 79e6801
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 79e6801

Please sign in to comment.