Makefile: do not call clean before test

Fixes #288

Modifications:
 - call `make clean` explicitely to clean the workspace
 - add `make clean` to Travis instructions

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
This commit is contained in:
VirtualTam 2015-07-18 11:56:41 +02:00
parent 2ac5938b67
commit d0ce99e59e
2 changed files with 6 additions and 5 deletions

View file

@ -9,4 +9,5 @@ install:
- composer self-update
- composer install
script:
- make clean
- make test

View file

@ -102,7 +102,7 @@ mess_detector_summary: mess_title
# See phpunit.xml for configuration
# https://phpunit.de/manual/current/en/appendixes.configuration.html
##
test: clean
test:
@echo "-------"
@echo "PHPUNIT"
@echo "-------"
@ -114,13 +114,13 @@ test: clean
### remove all unversioned files
clean:
@git clean -df
@git clean -df
### update the local copy of the documentation
doc: clean
@rm -rf doc
@git clone https://github.com/shaarli/Shaarli.wiki.git doc
@rm -rf doc/.git
@rm -rf doc
@git clone https://github.com/shaarli/Shaarli.wiki.git doc
@rm -rf doc/.git
### Convert local markdown documentation to HTML
htmldoc: