Skip to content

Commit 7f594b2

Browse files
committed
Make motranslator optional for dev as well and test both cases
This way we can ensure that we don't break our code with or without motranslator. Issue #129, #132 Signed-off-by: Michal Čihař <[email protected]>
1 parent e042cb0 commit 7f594b2

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ php:
1010
- "hhvm"
1111
- "nightly"
1212

13+
env:
14+
matrix:
15+
- MOTRANSLATOR=yes
16+
- MOTRANSLATOR=no
17+
1318
matrix:
1419
fast_finish: true
1520
allow_failures:
@@ -19,6 +24,7 @@ sudo: false
1924

2025
install:
2126
- composer install
27+
- if [ "$MOTRANSLATOR" = "yes" ] ; then composer require phpmyadmin/motranslator:^3.0 ; fi
2228

2329
after_script:
2430
- |

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"ext-mbstring": "*"
2121
},
2222
"require-dev": {
23-
"phpmyadmin/motranslator": "~3.0",
2423
"phpunit/php-code-coverage": "~2.0 || ~3.0",
2524
"phpunit/phpunit": "~4.8 || ~5.1"
2625
},

0 commit comments

Comments
 (0)