forked from elcodi/bamboo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (34 loc) · 1.09 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
language: php
env:
- COMPOSER_OPTIONS="update --prefer-source"
php:
- 5.4
- 5.5
- 5.6
- hhvm
- 7.0
matrix:
fast_finish: true
allow_failures:
- php: 7.0
- php: hhvm
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "wget http://selenium.googlecode.com/files/selenium-server-standalone-2.39.0.jar"
- "java -jar selenium-server-standalone-2.39.0.jar > /tmp/selenium.log 2> /tmp/selenium.error &"
# - sh -c "echo 'extension = redis.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini"
- /home/travis/.phpenv/versions/$(phpenv version-name)/bin/composer self-update
- sh -c "sudo mkdir vendor"
- sh -c "sudo mount -t tmpfs -o size=512M tmpfs vendor"
install:
- composer ${COMPOSER_OPTIONS} --no-interaction
before_script:
- sh -c "sudo mkdir /tmp/Bamboo"
- sh -c "sudo mount -t tmpfs -o size=512M tmpfs /tmp/Bamboo/"
script:
- bin/behat -fprogress --tags="~javascript"
- bin/phpunit
- php app/console visithor:go --format=pretty --env=test
notifications:
email: false