Skip to content

Commit 0739f4b

Browse files
authored
MNT: Fix numpy issue on Travis, Py3.7 (#98)
* MNT: `pip install --upgrade` requirements on Travis * remove numpy before re-installing dependencies * first update pip, setuptools * only uninstall numpy on faulty py3.7
1 parent de1bcf8 commit 0739f4b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ matrix:
1414
include:
1515
- python: '3.5'
1616
- python: '3.7'
17+
before_install:
18+
- pip uninstall -y numpy # Avoid https://travis-ci.org/github/kernc/backtesting.py/jobs/704292730
1719

1820
- python: '3.8'
1921
name: 'Lint, Test w/ Coverage'
@@ -39,7 +41,8 @@ before_install:
3941
- set -e
4042

4143
install:
42-
- pip install --pre .[test]
44+
- pip install -U pip setuptools
45+
- pip install -U --pre .[test]
4346

4447
script:
4548
- BOKEH_BROWSER=none time catchsegv python setup.py test

0 commit comments

Comments
 (0)