File tree 1 file changed +32
-4
lines changed
1 file changed +32
-4
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
+
2
3
php :
3
4
- 5.4
4
5
- 5.5
5
6
- 5.6
7
+ - 7.0
6
8
- hhvm
7
- sudo : false # enables docker
8
- install :
9
- - composer install
9
+
10
+ sudo : required
11
+
12
+ addons :
13
+ hosts :
14
+ - riak-test
15
+
16
+ before_script :
17
+ - composer self-update
18
+ - composer install --prefer-source
19
+ - sudo riak-admin bucket-type create phptest_counters '{"props":{"datatype":"counter"}}'
20
+ - sudo riak-admin bucket-type create phptest_maps '{"props":{"datatype":"map"}}'
21
+ - sudo riak-admin bucket-type create phptest_sets '{"props":{"datatype":"set"}}'
22
+ - sudo riak-admin bucket-type create phptest_search '{"props":{}}'
23
+ - sudo riak-admin bucket-type create phptest_leveldb '{"props":{"backend":"leveldb_backend"}}'
24
+ - sudo riak-admin bucket-type activate phptest_counters
25
+ - sudo riak-admin bucket-type activate phptest_maps
26
+ - sudo riak-admin bucket-type activate phptest_sets
27
+ - sudo riak-admin bucket-type activate phptest_search
28
+ - sudo riak-admin bucket-type activate phptest_leveldb
29
+
10
30
notifications :
11
31
webhooks : http://basho-engbot.herokuapp.com/travis?key=8d594c660ec46f616e37e24fd941c0ea1fc67963
12
32
13
- script : " php vendor/bin/phpunit --testsuite 'Unit Tests'"
33
+
34
+ script : " ./vendor/bin/phpunit --coverage-text"
35
+
36
+ services :
37
+ - riak
38
+
39
+ matrix :
40
+ allow_failures :
41
+ - php : 7.0
You can’t perform that action at this time.
0 commit comments