From a6d7cbece77deecf7ee1ce3a7d09160e7335ba41 Mon Sep 17 00:00:00 2001 From: Kernc Date: Thu, 2 Jul 2020 14:11:59 +0200 Subject: [PATCH 1/4] MNT: `pip install --upgrade` requirements on Travis --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c7a5f3e0..929a0b53 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,7 +39,7 @@ before_install: - set -e install: - - pip install --pre .[test] + - pip install -U --pre .[test] script: - BOKEH_BROWSER=none time catchsegv python setup.py test From 7f4c5b32de2bb7d006f982195e3e0aa3309c97e7 Mon Sep 17 00:00:00 2001 From: Kernc Date: Thu, 2 Jul 2020 14:18:45 +0200 Subject: [PATCH 2/4] remove numpy before re-installing dependencies --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 929a0b53..d4b4b4b3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,6 +39,7 @@ before_install: - set -e install: + - pip uninstall -y numpy # Avoid https://travis-ci.org/github/kernc/backtesting.py/jobs/704292730 - pip install -U --pre .[test] script: From 5fef6d0eecf78a89c37e3247bfb27f609175dc85 Mon Sep 17 00:00:00 2001 From: Kernc Date: Thu, 2 Jul 2020 14:25:43 +0200 Subject: [PATCH 3/4] first update pip, setuptools --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index d4b4b4b3..5c83d405 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,6 +39,7 @@ before_install: - set -e install: + - pip install -U pip setuptools - pip uninstall -y numpy # Avoid https://travis-ci.org/github/kernc/backtesting.py/jobs/704292730 - pip install -U --pre .[test] From 0758b02aca55958bd59027db7ca5f2ef2c5f407e Mon Sep 17 00:00:00 2001 From: Kernc Date: Thu, 2 Jul 2020 14:30:33 +0200 Subject: [PATCH 4/4] only uninstall numpy on faulty py3.7 --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5c83d405..8499c251 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,8 @@ matrix: include: - python: '3.5' - python: '3.7' + before_install: + - pip uninstall -y numpy # Avoid https://travis-ci.org/github/kernc/backtesting.py/jobs/704292730 - python: '3.8' name: 'Lint, Test w/ Coverage' @@ -40,7 +42,6 @@ before_install: install: - pip install -U pip setuptools - - pip uninstall -y numpy # Avoid https://travis-ci.org/github/kernc/backtesting.py/jobs/704292730 - pip install -U --pre .[test] script: