-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.travis.yml
31 lines (25 loc) · 842 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
language: php
php:
#- 5.3
#- 5.5
- 5.6
- 7.0
- 7.1
matrix:
allow_failures:
- php: hhvm
env:
# repository pborreli/composer-service
# PUSHER_APP_ID= PUSHER_KEY= PUSHER_SECRET=
- secure: "LwnKMDhBUzxPhbDvBzpdHK6NjXPMlS4gR5ulHKLvcMGnYkpTdiLonOeaC3iNvk3GoFmPjscFrl5YWfy/jh5vg5tUHy8FB3oue3j0GgjiVXRWZa/ccJLjySNfLNTVfmzSNkOxEDRLC3CYIIUK/FPumPBF4g72xLfRT3Zux9PAszw="
services: rabbitmq
before_script:
- composer selfupdate
- composer install -n
- sudo cp ~/.phpenv/versions/$(phpenv version-name)/bin/composer /usr/local/bin/composer
- php app/console --env=test sonata:notification:start > /dev/null &
- phantomjs --webdriver=4444 > /dev/null &
- php -S localhost:8080 -t web &
script:
- bin/phpspec r --format=pretty --verbose
- bin/behat --format=pretty --verbose