Merge branch 'master' of github.com:oasis-open/cti-python-stix2
commit
0cc3a4585e
|
@ -11,12 +11,11 @@ python:
|
||||||
- "3.8"
|
- "3.8"
|
||||||
install:
|
install:
|
||||||
- pip install -U pip setuptools
|
- pip install -U pip setuptools
|
||||||
# remove pyyaml line when we drop py3.4 support
|
- pip install tox-travis
|
||||||
- pip install "pyyaml<5.3"
|
|
||||||
- pip install tox-travis pre-commit
|
|
||||||
- pip install codecov
|
- pip install codecov
|
||||||
|
- if [[ $TRAVIS_PYTHON_VERSION != 3.4 ]]; then pip install pre-commit; fi
|
||||||
script:
|
script:
|
||||||
- tox
|
- tox
|
||||||
- pre-commit run --all-files
|
- if [[ $TRAVIS_PYTHON_VERSION != 3.4 ]]; then pre-commit run --all-files; fi
|
||||||
after_success:
|
after_success:
|
||||||
- codecov
|
- codecov
|
||||||
|
|
1
tox.ini
1
tox.ini
|
@ -13,7 +13,6 @@ deps =
|
||||||
haversine
|
haversine
|
||||||
python-Levenshtein
|
python-Levenshtein
|
||||||
medallion
|
medallion
|
||||||
pyyaml<5.3
|
|
||||||
commands =
|
commands =
|
||||||
python -m pytest --cov=stix2 stix2/test/ --cov-report term-missing -W ignore::stix2.exceptions.STIXDeprecationWarning
|
python -m pytest --cov=stix2 stix2/test/ --cov-report term-missing -W ignore::stix2.exceptions.STIXDeprecationWarning
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue