2017-11-08 21:22:55 +01:00
|
|
|
sudo: true
|
2015-10-01 23:17:13 +02:00
|
|
|
language: python
|
2016-11-11 21:17:20 +01:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- python: 2.7
|
2017-11-08 07:20:29 +01:00
|
|
|
os: linux
|
|
|
|
dist: precise
|
2017-11-08 21:22:55 +01:00
|
|
|
env: TOXENV=py27 RUN_INTEGRATION_TESTS=0
|
2017-11-08 07:20:29 +01:00
|
|
|
- python: 2.7
|
|
|
|
os: linux
|
|
|
|
dist: trusty
|
2017-11-08 21:22:55 +01:00
|
|
|
env: TOXENV=py27 RUN_INTEGRATION_TESTS=0
|
2018-11-15 20:37:21 +01:00
|
|
|
- python: 2.7
|
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
env: TOXENV=py27 RUN_INTEGRATION_TESTS=0
|
2017-11-08 21:22:55 +01:00
|
|
|
- python: 2.7
|
|
|
|
os: linux
|
|
|
|
dist: precise
|
|
|
|
env: TOXENV=py27 RUN_INTEGRATION_TESTS=1
|
|
|
|
- python: 2.7
|
|
|
|
os: linux
|
|
|
|
dist: trusty
|
|
|
|
env: TOXENV=py27 RUN_INTEGRATION_TESTS=1
|
2018-11-15 20:37:21 +01:00
|
|
|
- python: 2.7
|
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
env: TOXENV=py27 RUN_INTEGRATION_TESTS=1
|
2018-05-08 23:28:01 +02:00
|
|
|
- python: 2.7
|
|
|
|
os: linux
|
|
|
|
dist: precise
|
|
|
|
env: TOXENV=py27 RUN_INTEGRATION_TESTS=2
|
|
|
|
- python: 2.7
|
|
|
|
os: linux
|
|
|
|
dist: trusty
|
|
|
|
env: TOXENV=py27 RUN_INTEGRATION_TESTS=2
|
2018-11-15 20:37:21 +01:00
|
|
|
- python: 2.7
|
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
env: TOXENV=py27 RUN_INTEGRATION_TESTS=2
|
2017-11-08 21:22:55 +01:00
|
|
|
- python: 3.4
|
|
|
|
os: linux
|
|
|
|
dist: precise
|
|
|
|
env: TOXENV=py34 RUN_INTEGRATION_TESTS=0
|
|
|
|
- python: 3.4
|
|
|
|
os: linux
|
|
|
|
dist: trusty
|
|
|
|
env: TOXENV=py34 RUN_INTEGRATION_TESTS=0
|
2018-11-15 20:37:21 +01:00
|
|
|
- python: 3.4
|
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
env: TOXENV=py34 RUN_INTEGRATION_TESTS=0
|
2016-11-11 21:17:20 +01:00
|
|
|
- python: 3.4
|
2017-11-08 07:20:29 +01:00
|
|
|
os: linux
|
|
|
|
dist: precise
|
2017-11-08 21:22:55 +01:00
|
|
|
env: TOXENV=py34 RUN_INTEGRATION_TESTS=1
|
2017-11-08 07:20:29 +01:00
|
|
|
- python: 3.4
|
|
|
|
os: linux
|
|
|
|
dist: trusty
|
2017-11-08 21:22:55 +01:00
|
|
|
env: TOXENV=py34 RUN_INTEGRATION_TESTS=1
|
2018-11-15 20:37:21 +01:00
|
|
|
- python: 3.4
|
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
env: TOXENV=py34 RUN_INTEGRATION_TESTS=1
|
2018-05-08 23:28:01 +02:00
|
|
|
- python: 3.4
|
|
|
|
os: linux
|
|
|
|
dist: precise
|
|
|
|
env: TOXENV=py34 RUN_INTEGRATION_TESTS=2
|
|
|
|
- python: 3.4
|
|
|
|
os: linux
|
|
|
|
dist: trusty
|
|
|
|
env: TOXENV=py34 RUN_INTEGRATION_TESTS=2
|
2018-11-15 20:37:21 +01:00
|
|
|
- python: 3.4
|
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
env: TOXENV=py34 RUN_INTEGRATION_TESTS=2
|
2017-11-08 07:20:29 +01:00
|
|
|
- python: 3.5
|
|
|
|
os: linux
|
|
|
|
dist: precise
|
2017-11-08 21:22:55 +01:00
|
|
|
env: TOXENV=py35 RUN_INTEGRATION_TESTS=0
|
2016-11-11 21:17:20 +01:00
|
|
|
- python: 3.5
|
2017-11-08 07:20:29 +01:00
|
|
|
os: linux
|
|
|
|
dist: trusty
|
2017-11-08 21:22:55 +01:00
|
|
|
env: TOXENV=py35 RUN_INTEGRATION_TESTS=0
|
2018-11-15 20:37:21 +01:00
|
|
|
- python: 3.5
|
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
env: TOXENV=py35 RUN_INTEGRATION_TESTS=0
|
2017-11-08 21:22:55 +01:00
|
|
|
- python: 3.5
|
|
|
|
os: linux
|
|
|
|
dist: precise
|
|
|
|
env: TOXENV=py35 RUN_INTEGRATION_TESTS=1
|
|
|
|
- python: 3.5
|
|
|
|
os: linux
|
|
|
|
dist: trusty
|
|
|
|
env: TOXENV=py35 RUN_INTEGRATION_TESTS=1
|
2018-11-15 20:37:21 +01:00
|
|
|
- python: 3.5
|
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
env: TOXENV=py35 RUN_INTEGRATION_TESTS=1
|
2018-05-08 23:28:01 +02:00
|
|
|
- python: 3.5
|
|
|
|
os: linux
|
|
|
|
dist: precise
|
|
|
|
env: TOXENV=py35 RUN_INTEGRATION_TESTS=2
|
|
|
|
- python: 3.5
|
|
|
|
os: linux
|
|
|
|
dist: trusty
|
|
|
|
env: TOXENV=py35 RUN_INTEGRATION_TESTS=2
|
2018-11-15 20:37:21 +01:00
|
|
|
- python: 3.5
|
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
env: TOXENV=py35 RUN_INTEGRATION_TESTS=2
|
2017-11-08 21:22:55 +01:00
|
|
|
- python: 3.6
|
|
|
|
os: linux
|
|
|
|
dist: precise
|
|
|
|
env: TOXENV=py36 RUN_INTEGRATION_TESTS=0
|
|
|
|
- python: 3.6
|
|
|
|
os: linux
|
|
|
|
dist: trusty
|
|
|
|
env: TOXENV=py36 RUN_INTEGRATION_TESTS=0
|
2018-11-15 20:37:21 +01:00
|
|
|
- python: 3.6
|
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
env: TOXENV=py36 RUN_INTEGRATION_TESTS=0
|
2017-01-06 21:05:36 +01:00
|
|
|
- python: 3.6
|
2017-11-08 07:20:29 +01:00
|
|
|
os: linux
|
|
|
|
dist: precise
|
2017-11-08 21:22:55 +01:00
|
|
|
env: TOXENV=py36 RUN_INTEGRATION_TESTS=1
|
2017-11-08 07:20:29 +01:00
|
|
|
- python: 3.6
|
|
|
|
os: linux
|
|
|
|
dist: trusty
|
2017-11-08 21:22:55 +01:00
|
|
|
env: TOXENV=py36 RUN_INTEGRATION_TESTS=1
|
2018-11-15 20:37:21 +01:00
|
|
|
- python: 3.6
|
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
env: TOXENV=py36 RUN_INTEGRATION_TESTS=1
|
2018-05-08 23:28:01 +02:00
|
|
|
- python: 3.6
|
|
|
|
os: linux
|
|
|
|
dist: precise
|
|
|
|
env: TOXENV=py36 RUN_INTEGRATION_TESTS=2
|
|
|
|
- python: 3.6
|
|
|
|
os: linux
|
|
|
|
dist: trusty
|
|
|
|
env: TOXENV=py36 RUN_INTEGRATION_TESTS=2
|
2018-11-15 20:37:21 +01:00
|
|
|
- python: 3.6
|
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
env: TOXENV=py36 RUN_INTEGRATION_TESTS=2
|
2018-11-15 21:55:11 +01:00
|
|
|
# - python: 3.7
|
|
|
|
# os: linux
|
|
|
|
# dist: precise
|
|
|
|
# env: TOXENV=py37 RUN_INTEGRATION_TESTS=0
|
|
|
|
# - python: 3.7
|
|
|
|
# os: linux
|
|
|
|
# dist: trusty
|
|
|
|
# env: TOXENV=py37 RUN_INTEGRATION_TESTS=0
|
|
|
|
- python: 3.7
|
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
env: TOXENV=py37 RUN_INTEGRATION_TESTS=0
|
|
|
|
# - python: 3.7
|
|
|
|
# os: linux
|
|
|
|
# dist: precise
|
|
|
|
# env: TOXENV=py37 RUN_INTEGRATION_TESTS=1
|
|
|
|
# - python: 3.7
|
|
|
|
# os: linux
|
|
|
|
# dist: trusty
|
|
|
|
# env: TOXENV=py37 RUN_INTEGRATION_TESTS=1
|
|
|
|
- python: 3.7
|
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
env: TOXENV=py36 RUN_INTEGRATION_TESTS=1
|
|
|
|
# - python: 3.7
|
|
|
|
# os: linux
|
|
|
|
# dist: precise
|
|
|
|
# env: TOXENV=py37 RUN_INTEGRATION_TESTS=2
|
|
|
|
# - python: 3.7
|
|
|
|
# os: linux
|
|
|
|
# dist: trusty
|
|
|
|
# env: TOXENV=py37 RUN_INTEGRATION_TESTS=2
|
|
|
|
- python: 3.7
|
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
env: TOXENV=py37 RUN_INTEGRATION_TESTS=2
|
2016-11-11 21:17:20 +01:00
|
|
|
- python: 2.7
|
2017-11-08 07:20:29 +01:00
|
|
|
os: linux
|
|
|
|
dist: precise
|
2017-11-08 21:22:55 +01:00
|
|
|
env: TOXENV=pep8 RUN_INTEGRATION_TESTS=0
|
2016-11-11 21:17:20 +01:00
|
|
|
- python: 2.7
|
2017-11-08 07:20:29 +01:00
|
|
|
os: linux
|
|
|
|
dist: trusty
|
2017-11-08 21:22:55 +01:00
|
|
|
env: TOXENV=pep8 RUN_INTEGRATION_TESTS=0
|
2018-11-15 20:37:21 +01:00
|
|
|
- python: 2.7
|
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
env: TOXENV=pep8 RUN_INTEGRATION_TESTS=0
|
2017-11-08 07:20:29 +01:00
|
|
|
- python: 2.7
|
|
|
|
os: linux
|
|
|
|
dist: precise
|
2017-11-08 21:22:55 +01:00
|
|
|
env: TOXENV=bandit RUN_INTEGRATION_TESTS=0
|
2017-11-08 07:20:29 +01:00
|
|
|
- python: 2.7
|
|
|
|
os: linux
|
|
|
|
dist: trusty
|
2017-11-08 21:22:55 +01:00
|
|
|
env: TOXENV=bandit RUN_INTEGRATION_TESTS=0
|
2018-11-15 20:37:21 +01:00
|
|
|
- python: 2.7
|
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
env: TOXENV=bandit RUN_INTEGRATION_TESTS=0
|
2017-11-17 21:02:47 +01:00
|
|
|
- python: 2.7
|
|
|
|
os: linux
|
|
|
|
dist: precise
|
2017-11-08 21:22:55 +01:00
|
|
|
env: TOXENV=docs RUN_INTEGRATION_TESTS=0
|
2017-11-17 21:02:47 +01:00
|
|
|
- python: 2.7
|
|
|
|
os: linux
|
|
|
|
dist: trusty
|
2017-11-08 21:22:55 +01:00
|
|
|
env: TOXENV=docs RUN_INTEGRATION_TESTS=0
|
2018-11-15 20:37:21 +01:00
|
|
|
- python: 2.7
|
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
env: TOXENV=docs RUN_INTEGRATION_TESTS=0
|
2015-10-01 23:17:13 +02:00
|
|
|
install:
|
2018-05-08 23:28:01 +02:00
|
|
|
# Pin six to >= 1.11.0 to avoid setuptools/pip race condition
|
|
|
|
# For more info, see: https://github.com/OpenKMIP/PyKMIP/issues/435
|
|
|
|
- pip uninstall -y six
|
|
|
|
- pip install six>=1.11.0
|
2015-10-01 23:17:13 +02:00
|
|
|
- pip install tox
|
2015-10-19 22:20:13 +02:00
|
|
|
- pip install bandit
|
2015-11-02 19:56:36 +01:00
|
|
|
- pip install codecov
|
2018-05-08 23:28:01 +02:00
|
|
|
- pip install slugs
|
2017-11-08 21:22:55 +01:00
|
|
|
- python setup.py install
|
2015-10-01 23:17:13 +02:00
|
|
|
script:
|
2017-11-08 21:22:55 +01:00
|
|
|
- ./.travis/run.sh
|
2015-10-01 23:17:13 +02:00
|
|
|
after_success:
|
2015-11-02 19:56:36 +01:00
|
|
|
- codecov
|
2019-01-29 16:12:21 +01:00
|
|
|
after_failure:
|
|
|
|
- if [ -f "/tmp/pykmip/server.log" ]; then cat /tmp/pykmip/server.log; fi
|
|
|
|
- if [ -f "/tmp/slugs/access.log" ]; then cat /tmp/slugs/access.log; fi
|
|
|
|
- if [ -f "/tmp/slugs/error.log" ]; then cat /tmp/slugs/error.log; fi
|