Skip to content

Commit 7831654

Browse files
committed
ci(macos): try alternative method to download composer
1 parent 09477b7 commit 7831654

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ jobs:
3434
- brew tap homebrew/homebrew-php
3535
- brew install php71
3636
- brew install homebrew/php/php71-xdebug
37-
- curl https://getcomposer.org/installer | php
37+
- php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
38+
- php composer-setup.php
3839
- ln -s "`pwd`/composer.phar" /usr/local/bin/composer
3940
- stage: release
4041
php: '7.0'

0 commit comments

Comments
 (0)