Commit graph

15 commits

Author SHA1 Message Date
TheJackiMonster 9de9f78129
Revert adjustments with osx ci
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2022-09-16 17:20:52 +02:00
TheJackiMonster 094095e2cd
Restore brew update to prepare script
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2022-09-16 17:11:25 +02:00
TheJackiMonster 36d48c8669
Stop the OSX CI from auto updating homebrew the whole time
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2022-01-25 23:55:31 +01:00
TheJackiMonster eb6f43f6ad
Adjusted osx prepare script to expect python3 being installed now
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2021-11-05 00:26:44 +01:00
TheJackiMonster 485e4d8040
Corrected unit in sleep command
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2021-11-04 13:45:41 +01:00
TheJackiMonster d7f1cc47cc
Alternate solution to cancel travis timeout
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2021-11-04 13:40:51 +01:00
TheJackiMonster dce208e36d
Moved travis_wait to work hopefully
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2021-11-04 13:05:26 +01:00
TheJackiMonster cd3d436384
Adjusted the prepare script for osx to not timeout in the travis CI
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2021-11-04 12:55:18 +01:00
Curtis Gedak 07c9ca5c5d Remove support for macOS X El Capitan (10.11) in Travis CI build
The Travis CI builds for macOS X are failing because these now
timeout.  This happens because qt is being built from source instead
of being installed from a bottle.

Note that by default the Travis CI will terminate a build after 10
minutes if no output has been received.  Unfortunately building qt
from source code may take hours.

To address this issue, choose a macOS X version that has a homebrew
bottle for qt [1].

[1] https://formulae.brew.sh/formula/qt

The homebrew project currently lists having a qt bottle for:

  - Mojave (10.14)
  - High Sierra (10.13)
  - Sierra (10.12)

No bottle is listed for macOS El Capitan (10.11)

In order to support as many versions of macOS X as possible, choose
the lowest osx_image value [2] that is currently supported with a
homebrew bottle.

[2] https://docs.travis-ci.com/user/reference/osx#os-x-version

At this time osx_image value xcode8.3 is listed as supporting OS X
10.12.
2018-11-29 13:31:18 -07:00
Paweł Świątkowski b50d627333 Enable testing in Travis CI 2018-10-30 17:36:25 +01:00
Curtis Gedak 847fb98410 Fix Travis CI build error on OSX - fails with pip3: command not found
The Travis CI builds are failing with the following messages:

    sudo -H pip3 install --upgrade pip setuptools wheel
    sudo: pip3: command not found

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

It appears that homebrew recipes for Python3 and pip3 install and
invocation keep changing (see Homebrew version after 1.5).

https://stackoverflow.com/questions/17271319/how-do-i-install-pip-on-macos-or-os-x
2018-10-14 14:37:25 -06:00
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