forked from magento/ece-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (33 loc) · 824 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
dist: trusty
git:
depth: 1
services:
- docker
language: php
php:
- '7.0'
- '7.1'
- '7.2'
addons:
apt:
update: true
env:
global:
- DIR_TOOLS="/var/www/ece-tools"
matrix:
- TEST_SUITE=static-unit XDEBUG=true
- TEST_SUITE=integration
cache:
apt: true
directories:
- $HOME/.composer/cache
before_install:
- echo "COMPOSER_MAGENTO_USERNAME=${REPO_USERNAME}" >> ./docker/composer.env
- echo "COMPOSER_MAGENTO_PASSWORD=${REPO_PASSWORD}" >> ./docker/composer.env
- if [ $XDEBUG == "true" ]; then echo "PHP_ENABLE_XDEBUG=true" >> ./docker/global.env; fi;
install:
- composer update -n --no-suggest
- ./bin/ece-tools docker:build:integration ${TRAVIS_PHP_VERSION} 10.0 latest
before_script: docker-compose up -d
script: ./tests/travis/script.sh
after_failure: docker ps -s