-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy path.travis.yml
51 lines (41 loc) · 1.16 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
43
44
45
46
47
48
49
50
51
language: php
cache:
directories:
- $HOME/.composer/cache
- vendor
dist: focal
addons:
firefox: "47.0.1"
apt:
packages:
- "libonig5"
services:
- xvfb
env:
global:
- COMPOSER_MEMORY_LIMIT=-1
matrix:
include:
- php: 7.4
env:
- COMPOSER_FLAGS='--prefer-lowest'
- php: 7.4
- php: 8.0
- php: 8.1
- php: 8.2
- php: 8.3
before_install:
- phpenv config-rm xdebug.ini
- composer update $COMPOSER_FLAGS
- wget --no-clobber -O vendor/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 &
- java -jar vendor/bin/selenium.jar > /dev/null 2>&1 &
- sleep 5
- features/fixtures/project/bin/console assets:install features/fixtures/project/web --relative --symlink
script:
- composer sniffer
- composer stan
- composer spec
- vendor/bin/behat --no-snippets --format=progress --profile=travis -vvv
after_failure: cat features/fixtures/project/var/logs/test.log