Skip to content

Commit 3f05fa3

Browse files
committed
Added travis build configuration.
1 parent 8277166 commit 3f05fa3

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.travis.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
sudo: required
2+
dist: precise
3+
4+
language: php
5+
php:
6+
- 5.5
7+
- 5.6
8+
- 7
9+
10+
env:
11+
- DB=1.7.1 ES_PKG=https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.1.deb
12+
- DB=2.2.0 ES_PKG=https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/2.2.0/elasticsearch-2.2.0.deb
13+
14+
before_install:
15+
- curl -O $ES_PKG && sudo dpkg -i --force-confnew $(printf 'elasticsearch-%s.deb' $DB)
16+
- sudo service elasticsearch start
17+
18+
install:
19+
- composer install --dev
20+
21+
script: ./bin/phpunit --coverage-text
22+
23+
notifications:
24+
email: false

0 commit comments

Comments
 (0)