forked from basho/riak-phppb-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (30 loc) · 1.07 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
sudo: required
addons:
hosts:
- riak-test
before_script:
- composer self-update
- composer install --prefer-source
- sudo riak-admin bucket-type create phptest_counters '{"props":{"datatype":"counter"}}'
- sudo riak-admin bucket-type create phptest_maps '{"props":{"datatype":"map"}}'
- sudo riak-admin bucket-type create phptest_sets '{"props":{"datatype":"set"}}'
- sudo riak-admin bucket-type create phptest_search '{"props":{}}'
- sudo riak-admin bucket-type create phptest_leveldb '{"props":{"backend":"leveldb_backend"}}'
- sudo riak-admin bucket-type activate phptest_counters
- sudo riak-admin bucket-type activate phptest_maps
- sudo riak-admin bucket-type activate phptest_sets
- sudo riak-admin bucket-type activate phptest_search
- sudo riak-admin bucket-type activate phptest_leveldb
notifications:
webhooks: http://basho-engbot.herokuapp.com/travis?key=8d594c660ec46f616e37e24fd941c0ea1fc67963
email: [email protected]
script: "./vendor/bin/phpunit --coverage-text"
services:
- riak