Skip to content
This repository has been archived by the owner on Apr 5, 2018. It is now read-only.

Commit

Permalink
Fix unit tests by requiring mockery for craft
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Olde Hampsink committed Jan 27, 2016
1 parent 09f9eab commit b0afbf7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ before_script:
- mkdir craft/storage
- mkdir -p craft/plugins/taskmanager
- for item in *; do if [[ ! "$item" == "craft" ]]; then mv $item craft/plugins/taskmanager; fi; done
- cd craft/app
- composer require mockery/mockery
- cd ../..

# execute tests
script: phpunit --bootstrap craft/app/tests/bootstrap.php --configuration craft/plugins/taskmanager/phpunit.xml.dist --coverage-clover coverage.clover craft/plugins/taskmanager/tests
Expand Down

0 comments on commit b0afbf7

Please sign in to comment.