From dd0793185072c54a4c091b545f70a16d12393771 Mon Sep 17 00:00:00 2001 From: core23 Date: Fri, 26 Jan 2018 17:48:58 +0100 Subject: [PATCH] Adding stages to travis build --- .travis.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index aea2481..020e09d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,18 +22,27 @@ env: - SYMFONY_DEPRECATIONS_HELPER=weak_vendors - TARGET=test +stages: + - lint + - test + matrix: fast_finish: true include: - - php: 7.2 + - stage: lint + php: 7.2 env: TARGET=lint - - php: 7.2 + - stage: lint + php: 7.2 env: TARGET=phpstan - - php: 7.1 + - stage: test + php: 7.1 env: COMPOSER_FLAGS="--prefer-lowest" - - php: 7.2 + - stage: test + php: 7.2 env: SYMFONY_VERSION=3.4.* - - php: 7.2 + - stage: test + php: 7.2 env: SYMFONY_VERSION=4.0.* allow_failures: - php: nightly