forked from static-frame/static-frame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
108 lines (83 loc) · 2.42 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# https://github.com/brandtbucher/travis-python-matrix
language: shell
matrix:
include:
# - name: CPython 3.8.0 on Ubuntu 16.04
# language: python
# os: linux
# dist: xenial
# python: 3.8.0
# before_install:
# - sudo apt-get install -y libhdf5-dev
- name: CPython 3.7.4 on Ubuntu 16.04
language: python
os: linux
dist: xenial
python: 3.7.4
- name: CPython 3.6.8 on Ubuntu 16.04
language: python
os: linux
dist: xenial
python: 3.6.8
- name: CPython 3.7.4 on Windows 10 (64-bit)
language: shell
os: windows
before_install:
- export PATH=/c/Python37:/c/Python37/Scripts:$PATH
- choco install python --version 3.7.4
- name: CPython 3.6.8 on Windows 10 (64-bit)
language: shell
os: windows
before_install:
- export PATH=/c/Python36:/c/Python36/Scripts:$PATH
- choco install python --version 3.6.8
- name: CPython 3.7.4 on macOS 10.14
language: shell
os: osx
osx_image: xcode10.2
before_install:
- export PATH=/Users/travis/.pyenv/shims:$PATH PYENV_VERSION=3.7.4
- travis_wait pyenv install $PYENV_VERSION
- name: CPython 3.6.8 on macOS 10.14
language: shell
os: osx
osx_image: xcode10.2
before_install:
- export CFLAGS="-I$(xcrun --show-sdk-path)/usr/include"
- export PATH=/Users/travis/.pyenv/shims:$PATH PYENV_VERSION=3.6.8
- pyenv install $PYENV_VERSION
- name: performance
python: 3.7
dist: xenial
language: python
script: python -m static_frame.performance.main --performance '*'
- name: mypy
python: 3.7
dist: xenial
language: python
script: mypy --strict
- name: pylint
python: 3.7
dist: xenial
language: python
script: pylint static_frame
- name: forward compatibility NumPy 1.17.4
language: python
os: linux
dist: xenial
python: 3.7.4
install:
- pip install -r requirements-test.txt
- pip install numpy==1.17.4
- name: backward compatibility NumPy 1.15.4
language: python
os: linux
dist: xenial
python: 3.7.4
install:
- pip install -r requirements-test.txt
- pip install numpy==1.15.4
# common
install: pip install -r requirements-test.txt
script: pytest --cov=static_frame
after_success: codecov