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 self-update
- composer install - composer install
script: script:
- make clean
- make test - make test

View file

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