-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
51 lines (40 loc) · 1.32 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
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
env:
global:
- CODE_COVERAGE=false
matrix:
- MAGENTO_VERSION=magento-mirror-1.9.3.1
matrix:
include:
- php: 7.0
env: MAGENTO_VERSION=magento-mirror-1.9.3.1 CODE_COVERAGE=true
- php: 7.0
env: MAGENTO_VERSION=magento-mirror-1.9.2.4
- php: 7.0
env: MAGENTO_VERSION=magento-mirror-1.8.1.0
- php: 7.0
env: MAGENTO_VERSION=magento-mirror-1.8.0.0
fast_finish: true
allow_failures:
- php: 7.1
- php: hhvm
- php: nightly
before_script:
- if [ "${TRAVIS_PHP_VERSION}" != "hhvm" ] && [ "${TRAVIS_PHP_VERSION}" != "nightly" ] && [ "${CODE_COVERAGE}" = "false" ]; then phpenv config-rm xdebug.ini; fi
- if find . -name "*.php" ! -path "./vendor/*" -print0 | xargs -0 -n 1 -P 8 php -l | grep -v "No syntax errors detected"; then exit 1; fi
- export PATH=$PATH:$HOME/.composer/vendor/bin
- npm install -g travis-notify-geckoboard
- bash app/code/community/TIG/Buckaroo3Extended/Test/Scripts/InstallDependencies.sh
script: bash app/code/community/TIG/Buckaroo3Extended/Test/Scripts/Setup.sh
after_success: bash app/code/community/TIG/Buckaroo3Extended/Test/Scripts/AfterSuccess.sh
cache:
directories:
- $HOME/.composer
after_script: travis-notify-geckoboard -a $GECKOBOARD_API_KEY -w $GECKOBOARD_WIDGET_KEY