/
.travis.yml
28 lines (22 loc) · 906 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
language: php
php:
- 5.3.3
services:
- mongodb
before_script:
# installation de l'extension php mongodb http://docs.travis-ci.com/user/languages/php/
- echo "extension = mongodb.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
# compte pour mongoDB
- sleep 15
- mongo bdtheque_database --eval 'db.addUser("travis", "test");'
# installation des vendor via composer
- composer install --dev
script:
# lancement test phpunit
- phpunit -c app --coverage-text
after_script:
# lancement test SensioLabs Insight
#- 'curl -X POST -H "Accept: application/vnd.com.sensiolabs.insight+xml" "https://56d75495-85ba-4894-9cd6-1033c25cc168:8bf2365488e3324ad8405b43b414c6571a608bf1ea10c3440e137c06a55c0792@insight.sensiolabs.com/api/projects/94ad6866-a596-4429-8bef-759b7933c7c2/analyses"'
notifications:
email:
- benijaco@gmail.com