forked from Codeception/Codeception
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
27 lines (22 loc) · 777 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
language: php
php:
- 5.3
- 5.4
branches:
except:
- gh-pages
services:
- mongodb
- rabbitmq
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 -port 4444 &
- wget http://selenium.googlecode.com/files/selenium-server-standalone-2.31.0.jar
- java -jar selenium-server-standalone-2.31.0.jar -port 4455 &
- 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"