forked from FriendsOfSymfony/FOSCommentBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
23 lines (19 loc) · 1.1 KB
/
.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
language: php
php:
- 5.3
- 5.4
before_script:
- export DISPLAY=:99.0 && sh -e /etc/init.d/xvfb start
- wget --quiet -O sahi.zip http://sourceforge.net/projects/sahi/files/sahi-v35/20110719/sahi_20110719.zip/download && unzip -qq sahi.zip
- export SAHI_HOME=sahi && sh sahi/bin/sahi.sh > /dev/null &
- curl --silent http://getcomposer.org/installer | php > /dev/null && php composer.phar install --dev --quiet
- sudo apt-get -qq install nginx > /dev/null 2>&1
- nginx -v && sudo nginx -c app/Behat/nginx.conf.dist -p ./Tests/Functional
- for file in `find /home/vagrant/.phpenv -name 'xdebug.ini'`; do echo "xdebug.max_nesting_level=200" >> $file; done;
- php-cgi -b 127.0.0.1:9000 &
- ./Tests/Functional/app/console assets:install --symlink Tests/Functional/web > /dev/null && ./Tests/Functional/app/console doctrine:database:drop --force > /dev/null && ./Tests/Functional/app/console doctrine:database:create > /dev/null && ./Tests/Functional/app/console doctrine:schema:create
script: ./run_tests.sh
notifications:
email:
- friendsofsymfony-dev@googlegroups.com
- tim+build@nagel.com.au