File tree 1 file changed +21
-3
lines changed
1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -20,19 +20,37 @@ matrix:
20
20
- os : osx
21
21
language : generic
22
22
env :
23
- - PYTHON_VERSION=3.7.2
23
+ - PYTHON_VERSION=3.7.8
24
24
- PYTHON_SHORT_VERSION=3.7
25
25
26
+ before_cache :
27
+ # Cleanup to avoid the cache to grow indefinitely as new package versions are released
28
+ # see https://stackoverflow.com/questions/39930171/cache-brew-builds-with-travis-ci
29
+ - brew cleanup
30
+
26
31
cache :
27
32
directories :
28
- - $HOME/.pyenv/versions/3.7.2
33
+ # Cache downloaded bottles
34
+ - $HOME/Library/Caches/Homebrew
35
+ # pyenv
36
+ - $HOME/.pyenv_cache
37
+ - $HOME/.pyenv/versions/3.7.8
29
38
- $HOME/.pyenv/versions/3.6.5
30
39
- $HOME/.pyenv/versions/3.5.5
40
+ # scikit-ci-addons
31
41
- $HOME/downloads
32
42
33
43
before_install :
44
+ - |
45
+ # Workaround the following error occuring because python installation is cached but gettext dependency is not
46
+ # dyld: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib
47
+ # Referenced from: /Users/travis/.pyenv/versions/3.7.2/bin/python
48
+ # Reason: Incompatible library version: python requires version 11.0.0 or later, but libintl.8.dylib provides version 10.0.0
49
+ # See https://github.com/scikit-build/cmake-python-distributions/issues/112 and
50
+ # https://github.com/scikit-build/cmake-python-distributions/pull/113
51
+ brew install gettext
34
52
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then mkdir $HOME/bin; ln -s $(which pip2) $HOME/bin/pip; fi
35
- - pip install scikit-ci==0.13.0 scikit-ci-addons==0.11.0
53
+ - pip install scikit-ci scikit-ci-addons
36
54
- ci_addons --install ../addons
37
55
38
56
install :
You can’t perform that action at this time.
0 commit comments