Skip to content

Commit

Permalink
Merge pull request #2767 from CalderaWP/feature/2765
Browse files Browse the repository at this point in the history
Test JS tests in Travis fixes #2765
  • Loading branch information
Josh Pollock authored Oct 18, 2018
2 parents a72e86a + 3c3b630 commit 296e6bc
Show file tree
Hide file tree
Showing 11 changed files with 89,671 additions and 41,867 deletions.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:
matrix:
include:
- php: 7.2
env: WP_VERSION=trunk
env: WP_VERSION=trunk TEST_JS=yes
- php: 7.2
env: WP_VERSION=latest WP_MULTISITE=1
- php: 7.2
Expand All @@ -49,6 +49,10 @@ before_script:
composer global require wp-coding-standards/wpcs
phpcs --config-set installed_paths $HOME/.composer/vendor/wp-coding-standards/wpcs
fi
- |
if [[ "$TEST_JS" == "yes" ]] ; then
npm install
fi
script:
- |
if [[ ! -z "$WP_VERSION" ]] ; then
Expand All @@ -57,4 +61,8 @@ script:
- |
if [[ "$WP_TRAVISCI" == "phpcs" ]] ; then
phpcs
fi
- |
if [[ "$TEST_JS" == "yes" ]] ; then
npm run test:once
fi
12,663 changes: 12,657 additions & 6 deletions clients/admin/build/index.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions clients/admin/build/index.min.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 296e6bc

Please sign in to comment.