summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 36dc06584..9dfd90ade 100644
--- a/Makefile
+++ b/Makefile
@@ -91,7 +91,7 @@ ifeq (, $(shell which composer 2> /dev/null))
curl -sS https://getcomposer.org/installer | php
mv composer.phar $(build_tools_directory)
endif
- $(composer) update --prefer-dist
+ $(composer) install --prefer-dist --no-dev
# Installs npm dependencies
.PHONY: npm
@@ -172,6 +172,7 @@ endif
# from the internet
.PHONY: test
test:
+ $(composer) update --prefer-dist
cd js && $(npm) run test
./vendor/phpunit/phpunit/phpunit -c phpunit.xml --coverage-clover build/php-unit.clover
# \Test\TestCase is only allowed to access the db if TRAVIS environment variable is set