File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change
1
+ sudo : false
2
+ language : php
3
+
4
+ php :
5
+ - 5.3
6
+ - 5.4
7
+ - 5.5
8
+ - 5.6
9
+
10
+ env :
11
+ - MONGO_VERSION=stable
12
+
13
+ matrix :
14
+ include :
15
+ - php : 7.0
16
+ env : ADAPTER_VERSION="^1.0.0" MONGODB_VERSION=stable
17
+
18
+ services : mongodb
19
+
20
+ before_script :
21
+ - if [ "x${MONGO_VERSION}" != "x" ]; then yes '' | pecl -q install -f mongo-${MONGO_VERSION}; fi
22
+ - if [ "x${MONGODB_VERSION}" != "x" ]; then pecl install -f mongodb-${MONGODB_VERSION}; fi
23
+ - if [ "x${ADAPTER_VERSION}" != "x" ]; then composer require "alcaeus/mongo-php-adapter=${ADAPTER_VERSION}" --ignore-platform-reqs; fi
24
+ - composer self-update
25
+ - composer install --dev
26
+
27
+ script :
28
+ - ./vendor/bin/phpunit
Original file line number Diff line number Diff line change 24
24
"friendsofphp/php-cs-fixer" : " ^1.0" ,
25
25
"mikey179/vfsStream" : " 1.*"
26
26
},
27
- "minimum-stability" : " dev" ,
28
27
"autoload" : {
29
28
"psr-0" : { "AntiMattr\\ MongoDB\\ Migrations\\ " : " src/" }
30
29
},
You can’t perform that action at this time.
0 commit comments