Commit graph

4 commits

Author SHA1 Message Date
Curtis Gedak 4b50024a32 Enhance Travis CI build on OSX to remove sudo ownership warning
The Travis CI build reports the following in the messages from
executing package/prepare_osx.sh:

    sudo pip3 install --upgrade pip setuptools wheel
    The directory '/Users/travis/Library/Caches/pip/http' or its       \
     parent directory is not owned by the current user and the cache   \
     has been disabled. Please check the permissions and owner of that \
     directory. If executing pip with sudo, you may want sudo's -H     \
     flag.
    The directory '/Users/travis/Library/Caches/pip' or its parent     \
     directory is not owned by the current user and caching wheels has \
     been disabled. check the permissions and owner of that            \
     directory. If executing pip with sudo, you may want sudo's -H     \
     flag.

In an effort to address this issue, add "-H" flag to sudo.
2018-04-07 10:24:16 -06:00
Curtis Gedak 8d16bb78d1 Fix Travix CI build error on OSX installing python3
The Travis CI builds have been failing with the following message:

    The command "if [ "$TRAVIS_OS_NAME" = "osx" ]; then \
                 bash package/prepare_osx.sh; fi"       \
     failed and exited with 1 during .

This above line of code is from .travis.yml.  Further examination of
the log from executing package/prepare_osx.sh shows the following
message:

    <snip>
    brew install python3 enchant
    Error: python 2.7.12_1 is already installed
    To upgrade to 3.6.5, run `brew upgrade python`
    <snip>

Based on this message it appears that the method to install python3
has changed.  Hence change command to upgrade python 2.x to 3.x.
2018-04-07 10:24:16 -06:00
Paweł Świątkowski 9039fa0220 Add PyEnchant support to OSX builds 2017-11-13 10:47:19 +01:00
Paweł Świątkowski 76be369a7c Add Travis configuration 2017-11-12 15:24:08 +01:00