forked from fsi-open/admin-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (32 loc) · 1.18 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
language: php
sudo: required
cache:
directories:
- $HOME/.composer/cache
- bin
- vendor
addons:
firefox: "47.0.1"
matrix:
include:
- php: 7.1
env:
- COMPOSER_FLAGS='--prefer-lowest'
- php: 7.1
before_install:
- phpenv config-rm xdebug.ini
- if [[ $SYMFONY_VERSION ]]; then composer require symfony/symfony:${SYMFONY_VERSION} -n --no-update; fi;
# Avoid issues on composer update
- echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- composer update $COMPOSER_FLAGS
- wget --no-clobber -O bin/selenium.jar http://selenium-release.storage.googleapis.com/2.53/selenium-server-standalone-2.53.1.jar || true
before_script:
- nohup php -S localhost:8080 -t features/fixtures/project/web > /dev/null 2>&1 &
- sh -e /etc/init.d/xvfb start
- export DISPLAY=:99.0
- java -jar bin/selenium.jar > /dev/null 2>&1 &
- sleep 5
- features/fixtures/project/app/console assets:install features/fixtures/project/web --relative --symlink
script:
- bin/phpspec run --format=pretty
- bin/behat --no-snippets --format=progress --profile=travis -vvv