-
Notifications
You must be signed in to change notification settings - Fork 101
/
Copy path.travis.yml
39 lines (30 loc) · 875 Bytes
/
.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
38
39
language: php
php:
- 5.6
- 7.0
- hhvm
services:
- docker
install:
- composer self-update
- composer install --prefer-source --no-interaction --dev
- composer dump-autoload
sudo:
required
before_install:
- docker run -d -it -p 5984:5984 klaemo/couchdb:latest
- sleep 5
- curl -X PUT http://127.0.0.1:5984/_users && curl -X PUT http://127.0.0.1:5984/_replicator && curl -X PUT http://127.0.0.1:5984/_global_changes
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script:
- curl http://localhost:5984
- php ./tests/_config/_setupEnvironment.php "nonode@nohost"
- vendor/bin/phpunit --coverage-clover ./tests/logs/clover.xml --configuration ./phpunit.xml --testsuite Ordered
after_success:
- php vendor/bin/coveralls -v
matrix:
allow_failures:
- php: hhvm
fast_finish: true