diff --git a/.travis.yml b/.travis.yml index 017bcb9b6c6e1f..3d4f90e1f61233 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