forked from MozillaSecurity/grizzly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
63 lines (63 loc) · 1.97 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
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
install:
- python -m pip install -e .[all]
before_script:
- pip install --upgrade pytest pytest-mock pytest-pylint pytest-cov codecov
script:
- python -m pytest
after_success:
- codecov
deploy:
provider: pypi
distributions: sdist bdist_wheel
user: mozillasecurity
password:
secure: V3f+OpShnYZdxHSB8i6OwUMbFeqQ8NnfmYzm8s/YH4awSbn5TqjL1wQn7cqWR7trIUgUzp+RGafHy5agk7pTUM6Pj2tLb3w336c6KJmeub0vfifRFZJySjXTFN09DX64J2FD4KeiTIyOUemgQSU0jxCpwJXQrgdInHC3EEolE0loAydVdKWwYy6W5u+BPkY64zTHsEconDmc6TMqpKTI5UN4Iy/FPKTtJ4ifHUTv0uowI5JxbjgxYpzXmqD9XgtHo8k5jwPsu0QS7LuPNnDUN8sCFQ5WPJtnkE9SLfrNkCYnSzFrxJIfKbJBDZRjNp9v2Uz2jwCvvTyGKLQeVmVacLB4IwmT0ENXiDk7wtqVEO9lPXlvRVVt0w3xV5tOV8jfNcW8dookuZSzGtZ2sxWYwcro7uzNc36le6suhmJTq6w0uoj9ubcHnrbY2A181roAWPEtyCBf25lpM+C8jGmCgXEci9LhCZH79jrSgVds4jiXd+rXMo/qU86ye/6j/o7l5fnJmw/Or7dA3JsHIvYgBy9Ryh52uhCeggIcgFohgmhcRyLD5zkdLfzqNl+kY0nI12qeSAmceP8JCiUc0LX9/3e6B4X/knJ4s/ArbF5X/V4GzorE6tNxcpfwTMh4QnzraQgSAt/JhJz1QeYMMKJ0SVzAkGePNqDCWXHFGFoS+FE=
on:
tags: true
os: linux
python: 2.7