File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,13 @@ install:
38
38
- rm $HOME/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini;
39
39
- echo "memory_limit=2048M" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
40
40
- pkg/amqp-ext/travis/build-php-amqp-ext;
41
- - if [[ $FUNCTIONAL_TESTS ]]; then bin/dev -b; fi
42
41
- composer self-update
43
42
- composer update
43
+ - if [ "$FUNCTIONAL_TESTS" = true ]; then curl -L "https://github.com/docker/compose/releases/download/1.9.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose; fi
44
+ - if [ "$FUNCTIONAL_TESTS" = true ]; then chmod +x /usr/local/bin/docker-compose; fi
45
+ - if [ "$FUNCTIONAL_TESTS" = true ]; docker-compose --version; fi
46
+ - if [ "$FUNCTIONAL_TESTS" = true ]; then bin/dev -b; fi
44
47
45
48
script :
46
- - if [[ ! $FUNCTIONAL_TESTS ] ]; then bin/phpunit --exclude-group=functional; fi
47
- - if [[ $FUNCTIONAL_TESTS ] ]; then bin/dev -t; fi
49
+ - if [ " $FUNCTIONAL_TESTS" = false ]; then bin/phpunit --exclude-group=functional; fi
50
+ - if [ " $FUNCTIONAL_TESTS" = true ]; then bin/dev -t; fi
You can’t perform that action at this time.
0 commit comments