forked from Codeception/Codeception
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (24 loc) · 773 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
language: php
php:
- 5.3
- 5.4
- 5.5
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 &
- curl -s http://getcomposer.org/installer | php
- php composer.phar install -n --prefer-source
- "mysql -e 'create database codeception_test;'"
- psql -c 'create database codeception_test;' -U postgres
script: "php codecept run"