forked from NaleRaphael/goertzel-fft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (40 loc) · 1.26 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
language: python
sudo: false
cache:
directories:
- $HOME/.cache/pip
pip: true
matrix:
include:
- name: "Python 2.7"
python: 2.7
before_install:
- pip install numpy==1.9.1
- pip install scipy==0.15.0
- pip install matplotlib==1.4.2
- name: "Python 3.6"
python: 3.6
before_install:
- pip install numpy==1.14.3
- pip install scipy==1.1.0
- pip install matplotlib==2.2.2
- name: "Python 3.7"
python: 3.7
before_install:
# XXX: `setuptools` was updated to make a patch to disable using incompatible metadata
# from older version of `importlib_metadata`, but it broke the installation.
# Temporary workaround is downgrade `importlib_metadata` to 4.2, see also this comment:
# https://github.com/pypa/setuptools/issues/3102#issuecomment-1039628434
# (Downgrade setuptools can be an option, but we want to keep it up-to-date to see
# whether there is any further breaking change introduced. And this workaround might not
# be required after python>=3.10)
- pip install importlib_metadata==4.2
- pip install numpy==1.14.3
- pip install scipy==1.1.0
- pip install matplotlib==2.2.2
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
install:
- pip install .
script:
- python runtests.py