From 8cc26423c7ce23c688615d722aabc58fb49753f3 Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Tue, 31 Oct 2017 10:10:40 +0100 Subject: [PATCH] Tests: Run everything in parallel --- .travis.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 017bcb9b6c6e1..3d4f90e1f6123 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,49 +24,45 @@ before_install: jobs: include: - - stage: unit + - stage: test php: 5.6 script: composer install && ./vendor/bin/phpcs - - stage: unit + - stage: test script: - npm install || exit 1 - npm run ci || exit 1 - - stage: unit + - stage: test php: 7.1 env: WP_VERSION=latest script: - ./bin/run-wp-unit-tests.sh - - stage: unit + - stage: test php: 5.6 env: WP_VERSION=latest script: - ./bin/run-wp-unit-tests.sh - - stage: unit + - stage: test php: 7.1 env: WP_VERSION=latest SWITCH_TO_PHP=5.3 script: - ./bin/run-wp-unit-tests.sh - - stage: unit + - stage: test php: 7.1 env: WP_VERSION=latest SWITCH_TO_PHP=5.2 script: - ./bin/run-wp-unit-tests.sh - - stage: integration + - stage: test script: - npm install || exit 1 - npm run build || exit 1 - ./bin/run-e2e-tests.sh || exit 1 -stages: - - unit - - integration - before_deploy: - npm install - cd docutron