forked from MozillaSecurity/grizzly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (53 loc) · 1.24 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
dist: xenial
sudo: false
cache: pip
language: python
python:
- 2.7
- 3.5
- 3.6
- 3.7
- 3.8-dev
matrix:
include:
- os: osx
language: generic
python: 2.7
- os: osx
language: sh
python: 3.7
before_install:
- brew update
- brew upgrade python
- python3 -m venv venv
- source venv/bin/activate
- os: windows
language: sh
python: 2.7
before_install:
- choco install python2
- export PATH="/c/Python27:/c/Python27/Scripts:$PATH"
- python -m pip install --upgrade pip wheel
- os: windows
language: sh
python: 3.7
before_install:
- choco install python3
- export PATH="/c/Python37:/c/Python37/Scripts:$PATH"
- python -m pip install --upgrade pip wheel
allow_failures:
- os: linux
python: 3.8-dev
- os: osx
python: 3.7
- os: windows
before_install:
- pip install --upgrade setuptools pip
- git clone https://github.com/MozillaSecurity/lithium.git
- python -m pip install -e lithium
install:
- python -m pip install -e .[all]
before_script:
- pip install --upgrade pytest pytest-mock pytest-pylint pytest-cov codecov
script:
- python -m pytest -v grizzly loki sapphire