Switch the directory from which the PHP Unit tests run on Travis.

This commit is contained in:
Peter Fabian 2018-11-02 11:43:46 +01:00
parent 6f9dd9c61b
commit 3c490a5ce6
1 changed files with 6 additions and 0 deletions

View File

@ -1,2 +1,8 @@
#!/usr/bin/env bash
WORKING_DIR="$PWD"
cd "$WP_CORE_DIR/wp-content/plugins/wc-admin/"
phpunit --version
phpunit -c phpunit.xml.dist
TEST_RESULT=$?
cd "$WORKING_DIR"
exit $TEST_RESULT