DATAREDIS-920 - Run 'test' from Makefile.
This commit is contained in:
2
Makefile
2
Makefile
@@ -149,5 +149,5 @@ stop: redis-stop sentinel-stop cluster-stop
|
||||
test:
|
||||
$(MAKE) start
|
||||
sleep 2
|
||||
./mvnw clean install -DrunLongTests=true -P$(SPRING_PROFILE)
|
||||
./mvnw clean dependency:list test -P${PROFILE} -Dsort -DrunLongTests=true
|
||||
$(MAKE) stop
|
||||
|
||||
@@ -10,10 +10,6 @@ rm -rf $HOME/.m2/repository/org/springframework/data 2> /dev/null || :
|
||||
|
||||
cd spring-data-redis-github
|
||||
|
||||
ln -s /work x
|
||||
|
||||
make test SPRING_PROFILE=spring5-next
|
||||
|
||||
./mvnw deploy \
|
||||
-Dmaven.test.skip=true \
|
||||
-DaltDeploymentRepository=distribution::default::file://${spring_data_redis_artifactory}
|
||||
|
||||
@@ -10,6 +10,5 @@ cd spring-data-redis-github
|
||||
|
||||
ln -s /work x
|
||||
|
||||
# Maven run from inside Makefile to interact with Redis server.
|
||||
make test SPRING_PROFILE=spring5-next
|
||||
|
||||
./mvnw clean dependency:list test -P${PROFILE} -Dsort
|
||||
|
||||
Reference in New Issue
Block a user