diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 0000000..5c1faf5 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,34 @@ +build: off + +environment: + matrix: + - PYTHON: "C:\\Python27-x64" + PYTHON_VERSION: "2.7.x" + PYTHON_ARCH: "64" + TOXENV: "py27" + + - PYTHON: "C:\\Python34-x64" + PYTHON_VERSION: "3.4.x" + PYTHON_ARCH: "64" + TOXENV: "py34" + + - PYTHON: "C:\\Python35-x64" + PYTHON_VERSION: "3.5.x" + PYTHON_ARCH: "64" + TOXENV: "py35" + + - PYTHON: "C:\\Python36-x64" + PYTHON_VERSION: "3.6.x" + PYTHON_ARCH: "64" + TOXENV: "py36" + +install: + - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" + - "python --version" + - "python -c \"import struct; print(struct.calcsize('P') * 8)\"" + - "pip install --disable-pip-version-check --user --upgrade pip" + - "%CMD_IN_ENV% pip install tox coverage" + +test_script: + # Run the project tests + - "%CMD_IN_ENV% tox" diff --git a/.travis.yml b/.travis.yml index 6236098..e99a0c8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,20 @@ language: python python: - "2.7" + - "3.4" - "3.5" - "3.6" + +sudo: false + +cache: pip + install: - pip install tox-travis + script: - tox + notifications: email: recipients: diff --git a/tox.ini b/tox.ini index fa04b7b..99ca208 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{36} +envlist = py27,py34,py35,py36 [testenv] passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH