Skip to content

Commit 8bf0333

Browse files
committed
fix
1 parent 8b219b3 commit 8bf0333

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Diff for: .travis.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,13 @@ install:
3838
- rm $HOME/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini;
3939
- echo "memory_limit=2048M" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
4040
- pkg/amqp-ext/travis/build-php-amqp-ext;
41-
- if [[ $FUNCTIONAL_TESTS ]]; then bin/dev -b; fi
4241
- composer self-update
4342
- 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
4447

4548
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

0 commit comments

Comments
 (0)