Switch the directory from which the PHP Unit tests run on Travis.
This commit is contained in:
parent
6f9dd9c61b
commit
3c490a5ce6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue