Skip to content

Commit

Permalink
Merge pull request #43 from xwp/disable-js-coverage
Browse files Browse the repository at this point in the history
Disable JS code coverage
  • Loading branch information
spacedmonkey committed Mar 17, 2020
2 parents d21e625 + a12a712 commit 634f667
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,21 +75,21 @@ jobs:
- unset PUPPETEER_SKIP_CHROMIUM_DOWNLOAD
before_script:
- sudo service mysql stop
- echo "Running E2E tests with code coverage ..."
- echo "Running E2E tests without code coverage ..."
script:
- npm run env:start
- npm run wp -- wp core install --title=WordPress --admin_user=admin --admin_password=password --admin_email=admin@example.com --skip-email --url=http://localhost:8088 --quiet
- npm run wp -- wp plugin activate unsplash
- npm run build:js
- npm run test:e2e:ci

- name: JS unit tests (7.4, WordPress latest, with code coverage)
- name: JS unit tests (7.4, WordPress latest, without code coverage)
php: "7.4"
before_script:
- echo "Running JS unit tests with code coverage ..."
- echo "Running JS unit tests without code coverage ..."
script:
- npm run build:js
- npm run test:js:coveralls
- npm run test:js

- name: PHP unit tests (7.4, WordPress latest, with code coverage)
php: "7.4"
Expand Down

0 comments on commit 634f667

Please sign in to comment.