forked from basho/riak-php-client
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tools/ to 1.0.3, add Makefile
run integration and security tests in Travis no need to disable security twice use submodule remove tools/ from composer.json Add security-tests suite Modify test target
- Loading branch information
Luke Bakken
committed
Oct 25, 2016
1 parent
2542752
commit 067e1d0
Showing
10 changed files
with
61 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
.PHONY: all unit-test integration-test security-test | ||
.PHONY: install-composer install-deps help | ||
|
||
all: test | ||
|
||
test: unit-test integration-test | ||
|
||
unit-test: | ||
@php ./vendor/bin/phpunit --testsuite=unit-tests | ||
|
||
integration-test: | ||
@php ./vendor/bin/phpunit --testsuite=functional-tests | ||
|
||
security-test: | ||
@php ./vendor/bin/phpunit --testsuite=security-tests | ||
|
||
install-deps: | ||
@./composer install | ||
|
||
install-composer: | ||
@rm -f ./composer.phar ./composer | ||
@php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | ||
@php -r "if (hash_file('SHA384', 'composer-setup.php') === 'e115a8dc7871f15d853148a7fbac7da27d6c0030b848d9b3dc09e2a0388afed865e6a3d6b3c0fad45c48e2b5fc1196ae') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" | ||
@php ./composer-setup.php --filename=composer | ||
@rm -f ./composer-setup.php | ||
|
||
help: | ||
@echo '' | ||
@echo ' Targets:' | ||
@echo '-----------------------------------------------------------------' | ||
@echo ' all - Run all tests ' | ||
@echo ' install-deps - Install required dependencies ' | ||
@echo ' install-composer - Installs composer ' | ||
@echo ' test - Run unit & integration tests ' | ||
@echo ' unit-test - Run unit tests ' | ||
@echo ' integration-test - Run integration tests ' | ||
@echo ' security-test - Run security tests ' | ||
@echo '-----------------------------------------------------------------' | ||
@echo '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule tools
updated
24 files
+14 −0 | .travis.yml | |
+56 −2 | README.md | |
+5 −0 | RELNOTES.md | |
+169 −0 | build/publish | |
+6 −6 | chaos-monkey | |
+0 −61 | devrel/README.md | |
+0 −49 | devrel/gen-riak-conf | |
+0 −18 | devrel/legacy-search-conf | |
+0 −85 | devrel/riak-cluster-config | |
+0 −269 | devrel/setup-dev-cluster | |
+0 −8 | devrel/strong-consistency-conf | |
+34 −0 | gen-adv-conf | |
+34 −0 | gen-riak-conf | |
+60 −7 | lib/common.bash | |
+6 −5 | lib/gen_adv_conf.bash | |
+52 −0 | lib/gen_riak_conf.bash | |
+20 −0 | lib/legacy_search_conf.bash | |
+111 −0 | lib/riak_cluster_config.bash | |
+9 −0 | lib/strong_consistency_conf.bash | |
+34 −0 | riak-cluster-config | |
+0 −1 | setup-examples | |
+506 −0 | setup-riak | |
+34 −0 | strong-consistency-conf | |
+30 −9 | travis-ci/riak-install |