Skip to content
Snippets Groups Projects
Commit d4d251a0 authored by nygard_89's avatar nygard_89
Browse files

[travis] Added sudo requirement for running riak-admin commands.

[travis] Added riak-admin commands to create and activate test bucket.
parent 5661a000
No related branches found
No related tags found
No related merge requests found
......@@ -27,11 +27,15 @@ install: mvn install -q -DskipTests=true
script: mvn test -q
# Bucket-type to activate before running Riak KV tests.
before_script:
- sudo riak-admin bucket-type create ycsb '{"props":{"allow_mult":"false"}}'
- sudo riak-admin bucket-type activate ycsb
# Services to start for tests.
services:
- mongodb
- riak
# Use the Container based infrastructure.
sudo: false
# Sudo required for Riak KV test.
sudo: required
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment