Changeset 49689 for branches/5.6/.travis.yml
- Timestamp:
- 11/24/2020 04:03:23 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.6/.travis.yml
r49362 r49689 30 30 jobs: 31 31 include: 32 - env: WP_TRAVISCI=test:e2e LOCAL_PHPUNIT=latest PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=33 name: E2E Tests34 32 - env: WP_TRAVISCI=lint:php COMPOSER_INSTALL=true NPM_INSTALL=false WP_INSTALL=false 35 33 name: PHP Linting … … 99 97 fi 100 98 - | 101 if [[ "$WP_TRAVISCI" == "test: e2e" ]] || [[ "$WP_TRAVISCI" == "test:php" ]]; then99 if [[ "$WP_TRAVISCI" == "test:php" ]]; then 102 100 npm run env:start 103 101 npm run build … … 109 107 if [[ ${LOCAL_PHP:0:3} == "8.0" ]]; then 110 108 docker-compose run --rm phpunit php ./vendor/bin/phpunit --version 111 elif [[ "$WP_TRAVISCI" == "test: e2e" ]] || [[ "$WP_TRAVISCI" == "test:php" ]]; then109 elif [[ "$WP_TRAVISCI" == "test:php" ]]; then 112 110 docker-compose run --rm phpunit phpunit --version 113 111 fi … … 134 132 script: 135 133 - | 136 if [[ "$WP_TRAVISCI" == "test:e2e" ]]; then 137 npm run test:e2e 138 elif [[ "$WP_TRAVISCI" == "test:php" ]]; then 134 if [[ "$WP_TRAVISCI" == "test:php" ]]; then 139 135 npm run test:php -- --verbose -c phpunit.xml.dist && 140 136 npm run test:php -- --verbose -c phpunit.xml.dist --group ajax &&
Note: See TracChangeset
for help on using the changeset viewer.