forked from Codeception/Codeception
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
25 lines (20 loc) · 720 Bytes
/
.travis.yml
File metadata and controls
25 lines (20 loc) · 720 Bytes
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
language: php
php:
- 5.3
- 5.4
branches:
except:
- gh-pages
services: mongodb
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- wget http://selenium.googlecode.com/files/selenium-server-standalone-2.16.1.jar
- java -jar selenium-server-standalone-2.16.1.jar &
- pecl install mongo
- echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
- php -S localhost:8000 -t tests/data/app &
- composer self-update
- composer install -n --prefer-source
- "mysql -e 'create database codeception_test;'"
script: "php -dxdebug.remote_enable=1 -dxdebug.remote_host=127.0.0.1 -dxdebug.remote_port=9000 -dxdebug.remote_mode=req codecept run"