-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.travis.yml
More file actions
104 lines (85 loc) · 2.1 KB
/
.travis.yml
File metadata and controls
104 lines (85 loc) · 2.1 KB
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
language: python
dist: trusty
timeout: 1000
matrix:
include:
# linux + python
- os: linux
python: 2.6
name: ubuntu 14.04 - python@2.6
sudo: true
env:
- MATRIX_EVAL=""
- os: linux
python: 2.7
name: ubuntu 14.04 - python@2.7
sudo: true
env:
- MATRIX_EVAL=""
- os: linux
python: 3.3
name: ubuntu 14.04 - python@3.3
sudo: true
env:
- MATRIX_EVAL=""
- os: linux
python: 3.4
name: ubuntu 14.04 - python@3.4
sudo: true
env:
- MATRIX_EVAL=""
- os: linux
python: 3.5
name: ubuntu 14.04 - python@3.5
sudo: true
env:
- MATRIX_EVAL=""
- os: linux
python: 3.6
name: ubuntu 14.04 - python@3.6
sudo: true
env:
- MATRIX_EVAL=""
- os: linux
python: 3.7
name: ubuntu 14.04 - python@3.7
dist: xenial
sudo: true
env:
- MATRIX_EVAL=""
- os: linux
python: 3.8
name: ubuntu 14.04 - python@3.8
dist: xenial
sudo: true
env:
- MATRIX_EVAL=""
allow_failures:
# python2.6 and python3.3 are no longer supported by opencv
# python3.8 does not yet supports opencv
- name: ubuntu 14.04 - python@2.6
- name: ubuntu 14.04 - python@3.3
- name: ubuntu 14.04 - python@3.8
before_install:
- travis_retry eval "${MATRIX_EVAL}"
#- pip install -r requirements.txt
- python -m pip install --upgrade pip
- python -m pip --version
- python -m pip install numpy==1.15
- python -m pip install Pillow==2.2.2
- python -m pip install opencv-python==4.0.0.21
- python -m pip install matplotlib
- python -m pip install pytest==3.0.7
- python -m pip install enum34
- python -m pip install configparser
# testing libraries
- python -m pip install tensorflow==2.0.0b1
- python -m pip install hypothesis==4.13.0
- python -m pip install codecov
- python -m pip install pytest-cov
install:
- python setup.py install
script:
- travis_wait 45 python -m pytest --cov=NumPyNet --cov-config=.coveragerc
after_succes:
- codecov