-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
29 lines (24 loc) · 1.03 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
services:
- docker
env:
- TEST_GROUP=2-3-7
- TEST_GROUP=2-latest
before_install:
- phpenv config-rm xdebug.ini || true
- travis_retry wget https://github.com/docker/compose/releases/download/v2.17.0/docker-compose-linux-x86_64
- sudo mv docker-compose-linux-x86_64 /usr/libexec/docker/cli-plugins/docker-compose
- sudo chmod +x /usr/libexec/docker/cli-plugins/docker-compose
- docker --version && docker compose version
- composer self-update --2 && composer self-update --2.2
install:
- composer install --no-interaction
- composer run test:integration:install-magento
script:
- composer run test:integration
after_failure:
- vendor/bin/mtest 'cat /var/www/html/var/log/*.log'
- vendor/bin/mtest 'for r in ./var/report/*; do cat $r; done'
- vendor/bin/mtest 'ls -l ./dev/tests/integration/tmp/sandbox*/var'
- vendor/bin/mtest 'for r in ./dev/tests/integration/tmp/sandbox*/var/report/*; do cat $r; done'
- vendor/bin/mtest 'for l in ./dev/tests/integration/tmp/sandbox*/var/log/*; do cat $l; done'
- sleep 10;