cti-python-stix2/.travis.yml

22 lines
414 B
YAML
Raw Normal View History

2017-02-14 21:58:07 +01:00
sudo: false
language: python
2017-04-18 10:48:04 +02:00
cache: pip
2019-09-16 20:45:01 +02:00
dist: xenial
2017-02-14 21:58:07 +01:00
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
2019-09-16 20:45:01 +02:00
- "3.7"
- "3.8"
2017-02-14 21:58:07 +01:00
install:
- pip install -U pip setuptools
2020-01-08 19:22:08 +01:00
- pip install tox-travis
- pip install codecov
2020-01-08 19:22:08 +01:00
- if [[ $TRAVIS_PYTHON_VERSION != 3.4 ]]; then pip install pre-commit; fi
2017-04-05 23:27:04 +02:00
script:
- tox
2020-01-08 19:22:08 +01:00
- if [[ $TRAVIS_PYTHON_VERSION != 3.4 ]]; then pre-commit run --all-files; fi
after_success:
- codecov