Skip to content

Commit

Permalink
Update osx build for travis (#281)
Browse files Browse the repository at this point in the history
* Update osx build for travis

* Try something more with this os

* This gonna be hard ...

* Cleanup travis build even more
  • Loading branch information
akondas authored Jun 14, 2018
1 parent 59e69fd commit 31604ce
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 44 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ matrix:
language: generic
env:
- _OSX=10.11
- _PHP: php71

cache:
directories:
Expand All @@ -28,7 +27,6 @@ before_install:
- if [[ $DISABLE_XDEBUG == "true" ]]; then phpenv config-rm xdebug.ini; fi

install:
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then /usr/bin/env bash bin/handle_brew_pkg.sh "${_PHP}" ; fi
- curl -s http://getcomposer.org/installer | php
- php composer.phar install --no-interaction --ignore-platform-reqs

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ This changelog references the relevant changes done in PHP-ML library.
* enhancement Throw proper exception (#259, #251)
* fix ensure DataTransformer::testSet samples array is not empty (#204)
* fix optimizer initial theta randomization (#239)
* fix travis build on osx (#281)
* typo, tests, code styles and documentation fixes (#265, #261, #254, #253, #251, #250, #248, #245, #243)

* 0.6.2 (2018-02-22)
Expand Down
31 changes: 0 additions & 31 deletions bin/handle_brew_pkg.sh

This file was deleted.

14 changes: 3 additions & 11 deletions bin/prepare_osx_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@ 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
brew install [email protected]
brew upgrade [email protected]
brew link [email protected] --overwrite --force

0 comments on commit 31604ce

Please sign in to comment.