Update travis configuration

This commit is contained in:
Vincent Letourneau
2017-07-29 11:43:53 +02:00
parent fed284b2eb
commit 4af1a379f6

View File

@@ -25,7 +25,7 @@ init:
@$(shell cp -n $(shell pwd)/web/app/composer.json.dist $(shell pwd)/web/app/composer.json 2> /dev/null) @$(shell cp -n $(shell pwd)/web/app/composer.json.dist $(shell pwd)/web/app/composer.json 2> /dev/null)
apidoc: apidoc:
@docker exec -i $(shell docker-compose ps -q php) php ./app/vendor/apigen/apigen/bin/apigen generate -s app/src -d app/doc @docker exec -i $(shell docker-compose ps -q php) php app/vendor/apigen/apigen/bin/apigen generate -s app/src -d app/doc
@make resetOwner @make resetOwner
clean: clean:
@@ -65,7 +65,7 @@ mysql-restore:
@docker exec -i mysql mysql -u"$(MYSQL_ROOT_USER)" -p"$(MYSQL_ROOT_PASSWORD)" < $(MYSQL_DUMPS_DIR)/db.sql @docker exec -i mysql mysql -u"$(MYSQL_ROOT_USER)" -p"$(MYSQL_ROOT_PASSWORD)" < $(MYSQL_DUMPS_DIR)/db.sql
test: test:
@docker exec -i $(shell docker-compose ps -q php) ./app/vendor/bin/phpunit --colors=always --configuration app/ @docker exec -i $(shell docker-compose ps -q php) app/vendor/bin/phpunit --colors=always --configuration app/
@make resetOwner @make resetOwner
resetOwner: resetOwner: