forked from netz98/n98-magerun
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (36 loc) · 1.01 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
language: php
sudo: false
services:
- mysql
branches:
only:
- master
- develop
- /^(bugfix|feature|release)\/.*$/
matrix:
fast_finish: true
include:
- name: SH lint
php: 7.2
env: SCRIPT_JOB=LINTSH
script: find {src,tests} -name "*.php" ! -path '*/String.php' -print0 | xargs
-0 -n1 -P8 php -l | grep -v '^No syntax errors detected'; test $? -eq 1
- name: buildsh
php: 7.2
env: SCRIPT_JOB="BUILDSH"
- name: Bash Autocompletion
php: 7.2
env: SCRIPT_JOB="BASH-AUTOCOMPLETION"
- name: Magento 1.9.4.5 PHP 7.2
php: 7.2
env: MAGENTO_VERSION="magento-mirror-1.9.4.5" DB=mysql INSTALL_SAMPLE_DATA=no
before_install:
- phpenv config-rm xdebug.ini
- travis_retry composer self-update
- travis_retry composer global require hirak/prestissimo
install:
- travis_retry composer install --prefer-dist --no-interaction --ignore-platform-reqs
before_script:
- source build/travis/before_script.sh
script:
- build/travis/script.sh