mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-11-11 08:10:56 +00:00
a11e3f69c3
* Add support for coveralls.io
* Generate coverage report only on php 7.2 build
* Fix osx travis build and move tools to bin dir
* Update php version badge
* Fix travis conditional statement
* Fix travis conditional statement
* 🤦 fix bin path
19 lines
364 B
Bash
19 lines
364 B
Bash
#!/usr/bin/env bash
|
|
|
|
echo "Here's the OSX environment:"
|
|
sw_vers
|
|
brew --version
|
|
|
|
echo "Updating brew..."
|
|
brew update
|
|
|
|
if [[ "${_PHP}" == "hhvm" ]]; then
|
|
echo "Adding brew HHVM dependencies..."
|
|
brew tap hhvm/hhvm
|
|
|
|
else
|
|
echo "Adding brew PHP dependencies..."
|
|
brew tap homebrew/dupes
|
|
brew tap homebrew/versions
|
|
brew tap homebrew/homebrew-php
|
|
fi |