summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com>2020-01-14 21:44:47 +0100
committerGitHub <noreply@github.com>2020-01-14 21:44:47 +0100
commit8c20dd2dc4b3b192badb6d26c27efdaaa32cd9bd (patch)
tree7c01a0ca94cae81cc047c8e06d93a77aee0bed19
parent5533e1f16c99512ff1966b31ba8f121d37462f52 (diff)
parent8848099734d1825c59e2bae5612883808d080d85 (diff)
Merge pull request #201 from VincentRouvreau/fix_travis_python3_installation
Unlink Python2 for Python3 to be available through brew installation
-rw-r--r--.travis.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index d6c82e70..60d32ef8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -36,10 +36,13 @@ cache:
- $HOME/.cache/pip
- $HOME/Library/Caches/Homebrew
+before_install:
+ - brew update && brew unlink python@2 && brew upgrade python
+
addons:
homebrew:
- update: true
packages:
+ - python3
- cmake
- graphviz
- doxygen
@@ -49,7 +52,6 @@ addons:
- mpfr
- tbb
- cgal
- - python3
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log