diff --git a/.travis.yml b/.travis.yml index d9c478b5871..67813028b6f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,11 +10,11 @@ cache: # Test main supported versions of PHP against latest WP. php: -# - 5.6 -# - 7.0 -# - 7.1 + - 5.6 + - 7.0 + - 7.1 - 7.2 -# - 7.3 + - 7.3 env: - WP_VERSION=latest WP_MULTISITE=0 @@ -24,9 +24,9 @@ env: matrix: fast_finish: true include: -# - name: "Coding standard check" -# php: 7.2 -# env: WP_VERSION=latest WP_MULTISITE=0 RUN_PHPCS=1 + - name: "Coding standard check" + php: 7.2 + env: WP_VERSION=latest WP_MULTISITE=0 RUN_PHPCS=1 - name: "e2e tests" php: 7.2 env: WP_VERSION=latest WP_MULTISITE=0 RUN_E2E=1 @@ -35,15 +35,15 @@ matrix: apt: packages: - nginx -# - name: "Unit tests code coverage" -# php: 7.3 -# env: WP_VERSION=latest WP_MULTISITE=0 RUN_CODE_COVERAGE=1 -# - name: "WooCommerce unit tests using WordPress nightly" -# php: 7.3 -# env: WP_VERSION=nightly WP_MULTISITE=0 -# allow_failures: -# - php: 7.3 -# env: WP_VERSION=latest WP_MULTISITE=0 RUN_CODE_COVERAGE=1 + - name: "Unit tests code coverage" + php: 7.3 + env: WP_VERSION=latest WP_MULTISITE=0 RUN_CODE_COVERAGE=1 + - name: "WooCommerce unit tests using WordPress nightly" + php: 7.3 + env: WP_VERSION=nightly WP_MULTISITE=0 + allow_failures: + - php: 7.3 + env: WP_VERSION=latest WP_MULTISITE=0 RUN_CODE_COVERAGE=1 before_script: - export PATH="$HOME/.composer/vendor/bin:$PATH"