Skip to content

Commit 2bd01b8

Browse files
committed
add travis config to mongodb transport.
1 parent d59138e commit 2bd01b8

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

pkg/mongodb/.travis.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
sudo: false
2+
3+
php:
4+
- '7.1'
5+
6+
git:
7+
depth: 10
8+
9+
cache:
10+
directories:
11+
- $HOME/.composer/cache
12+
13+
services:
14+
- mongodb
15+
16+
before_install:
17+
- echo "extension = mongodb.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
18+
19+
install:
20+
- composer self-update
21+
- composer install --prefer-source
22+
23+
script:
24+
- vendor/bin/phpunit --exclude-group=functional
25+

0 commit comments

Comments
 (0)