-
Notifications
You must be signed in to change notification settings - Fork 145
/
.travis.yml
65 lines (54 loc) · 1.72 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
language: python
group: travis_latest
env:
- BEAGLE__STORAGE__DIR=data/ BEAGLE__STORAGE__DATABASE=sqlite:///beagle.db
cache: pip
matrix:
include:
- name: "Linux Python 3.6"
os: linux
python: 3.6
install: pip install ".[all]"
- name: "Linux Python 3.7"
os: linux
python: 3.7
dist: xenial
install: pip install ".[pcap,splunk,elasticsearch]"
- name: "Linux Python 3.7 CodeCov"
os: linux
python: 3.7
dist: xenial
install: pip install ".[pcap,splunk,elasticsearch]" codecov
script: mkdir -p data && pytest --cov=./beagle
after_success: codecov
- name: "Windows Python 3.6"
os: windows
language: sh
install: pip install ".[pcap,splunk,elasticsearch]"
before_install:
- choco install python3 --version 3.6.8
- export PATH="/c/Python36:/c/Python36/Scripts:$PATH"
- export TMPDIR=.
- pip install setuptools wheel
- name: "Windows Python 3.7"
os: windows
language: sh
install: pip install ".[pcap,splunk,elasticsearch]"
before_install:
- choco install python3 --version 3.7.3
- export PATH="/c/Python37:/c/Python37/Scripts:$PATH"
- export TMPDIR=.
- pip install setuptools wheel
- name: "MacOSX Python 3.6"
os: osx
python: 3.6
language: sh
install: pip3 install --user -e ".[all]"
script: mkdir -p data && $(python3 -m site --user-base)/bin/pytest
- name: "MacOSX Python 3.7"
os: osx
python: 3.7
language: sh
install: pip3 install --user -e ".[pcap,splunk,elasticsearch]"
script: mkdir -p data && $(python3 -m site --user-base)/bin/pytest
script: mkdir -p data && pytest