Skip to content
This repository was archived by the owner on Jan 6, 2022. It is now read-only.

Commit 98ce46d

Browse files
committed
Add travis ci support
1 parent 4f76cb4 commit 98ce46d

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.travis.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
language: php
2+
php:
3+
- 5.3
4+
- 5.4
5+
- 5.5
6+
- 5.6
7+
- hhvm
8+
env:
9+
- MAGENTO_VERSION=1.7.0.2
10+
- MAGENTO_VERSION=1.8.1.0
11+
- MAGENTO_VERSION=1.9.0.1
12+
matrix:
13+
allow_failures:
14+
- php: 5.6
15+
- php: hhvm
16+
before_script:
17+
- mysql -uroot -e "CREATE USER 'mageconfigsync'@'localhost' IDENTIFIED BY 'mageconfigsync';"
18+
- mysql -uroot -e "GRANT ALL ON mageconfigsync.* TO 'mageconfigsync'@'localhost';"
19+
- mysql -uroot -e "GRANT ALL ON mageconfigsync_test.* TO 'mageconfigsync'@'localhost';"
20+
- mysql -uroot -e "FLUSH PRIVILEGES;"
21+
- composer selfupdate
22+
- composer install --dev --no-interaction
23+
- wget http://www.phing.info/get/phing-latest.phar
24+
- mv phing-latest.phar phing.phar
25+
- chmod +x phing.phar
26+
27+
script:
28+
- php phing.phar -Ddb.pass='mageconfigsync' -Ddb.user='mageconfigsync' -Ddb.name='mageconfigsync' -Dmagento.version=$MAGENTO_VERSION test

0 commit comments

Comments
 (0)