Skip to content

Commit 963b03a

Browse files
committed
[TASK] Change travis config
1 parent 3530142 commit 963b03a

1 file changed

Lines changed: 32 additions & 21 deletions

File tree

.travis.yml

Lines changed: 32 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,49 @@
11
language: php
2+
sudo: false
23

34
php:
4-
- 5.3
55
- 5.4
66
- 5.5
7+
- 5.6
8+
- 7.0
79

810
env:
9-
- MAGENTO_VERSION="1.6.2.0"
10-
- MAGENTO_VERSION="1.7.0.2"
11-
- MAGENTO_VERSION="1.8.1.0"
12-
- MAGENTO_VERSION="1.9.0.1"
13-
- MAGENTO_VERSION="1.9.1.0"
11+
- MAGENTO_VERSION="magento-mirror-1.6.2.0"
12+
- MAGENTO_VERSION="magento-mirror-1.7.0.2"
13+
- MAGENTO_VERSION="magento-mirror-1.8.1.0"
14+
- MAGENTO_VERSION="magento-mirror-1.9.0.1"
15+
- MAGENTO_VERSION="magento-mirror-1.9.1.1"
16+
- MAGENTO_VERSION="magento-mirror-1.9.2.4"
17+
- MAGENTO_VERSION="magento-mirror-1.9.3.2"
1418

1519
matrix:
1620
fast_finish: true
1721
exclude:
22+
# Old Magento Versions are not officially supported to run with PHP 5.5
1823
- php: 5.5
19-
env: MAGENTO_VERSION="1.6.2.0"
24+
env: MAGENTO_VERSION="magento-mirror-1.6.2.0"
2025
- php: 5.5
21-
env: MAGENTO_VERSION="1.7.0.2"
26+
env: MAGENTO_VERSION="magento-mirror-1.7.0.2"
2227

23-
before_install:
24-
- mkdir test/
25-
- curl -sS https://getcomposer.org/installer | php
26-
- chmod +x ./composer.phar
27-
- ./composer.phar --version
28-
- ./composer.phar install --dev
28+
# Old Magento Versions are not officially supported to run with PHP 5.6
29+
- php: 5.6
30+
env: MAGENTO_VERSION="magento-mirror-1.6.2.0"
31+
- php: 5.6
32+
env: MAGENTO_VERSION="magento-mirror-1.7.0.2"
33+
- php: 5.6
34+
env: MAGENTO_VERSION="magento-mirror-1.8.1.0"
35+
- php: 5.6
36+
env: MAGENTO_VERSION="magento-mirror-1.9.0.1"
2937

30-
before_script:
31-
- CURR_DIR=$(pwd)
32-
- bin/mage-ci install test ${MAGENTO_VERSION} magento_test -c -t -r http://mage-ci.firegento.com
33-
- bin/mage-ci install-module test $CURR_DIR
34-
- git clone https://github.com/EcomDev/EcomDev_PHPUnit.git ./phpunit/
35-
- bin/mage-ci install-module $CURR_DIR/test $CURR_DIR/phpunit/
38+
# Old Magento Versions are not officially supported to run with PHP 7.0
39+
- php: 7.0
40+
env: MAGENTO_VERSION="magento-mirror-1.6.2.0"
41+
- php: 7.0
42+
env: MAGENTO_VERSION="magento-mirror-1.7.0.2"
43+
- php: 7.0
44+
env: MAGENTO_VERSION="magento-mirror-1.8.1.0"
45+
- php: 7.0
46+
env: MAGENTO_VERSION="magento-mirror-1.9.0.1"
3647

3748
script:
38-
- bin/mage-ci phpunit test
49+
- curl --retry 2 --retry-delay 5 -f -sSL https://raw.githubusercontent.com/AOEpeople/MageTestStand/master/setup.sh | bash

0 commit comments

Comments
 (0)