Browse Source

update test envs

use pypy3
fix travis osx env
cache pip on appveyor
codecov on appveyor
pull/2765/head
David Lord 7 years ago
parent
commit
b34c7174e7
No known key found for this signature in database
GPG Key ID: 7A1C87E3F5BC42A8
  1. 11
      .appveyor.yml
  2. 23
      .travis.yml
  3. 2
      tox.ini

11
.appveyor.yml

@ -1,16 +1,16 @@
environment:
global:
TOXENV: py
TOXENV: py,codecov
matrix:
- PYTHON: C:\Python36
- PYTHON: C:\Python27
- PYTHON: C:\Python36-x64
- PYTHON: C:\Python27-x64
init:
- SET PATH=%PYTHON%;%PATH%
install:
- python -m pip install -U pip setuptools wheel tox
- python -m pip install -U tox
build: false
@ -21,3 +21,6 @@ branches:
only:
- master
- /^.*-maintenance$/
cache:
- '%LOCALAPPDATA%\pip\Cache'

23
.travis.yml

@ -14,27 +14,30 @@ matrix:
env: TOXENV=py,codecov
- python: 2.7
env: TOXENV=py,simplejson,devel,lowest,codecov
- python: pypy
- python: pypy3
env: TOXENV=py,codecov
- python: nightly
env: TOXENV=py
- os: osx
language: generic
env: TOXENV=py
env: TOXENV=py3,py2,codecov
cache:
pip: false
directories:
- $HOME/Library/Caches/Homebrew
- $HOME/Library/Caches/pip
allow_failures:
- python: pypy3
- python: nightly
env: TOXENV=py
- os: osx
language: generic
env: TOXENV=py
fast_finish: true
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update;
brew install python3 redis memcached;
virtualenv -p python3 ~/py-env;
. ~/py-env/bin/activate;
- |
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
brew upgrade python
brew install python@2;
export PATH="/usr/local/opt/python/libexec/bin:${PATH}"
fi
install:

2
tox.ini

@ -60,7 +60,7 @@ commands =
coverage html
[testenv:codecov]
passenv = CI TRAVIS TRAVIS_*
passenv = CI TRAVIS TRAVIS_* APPVEYOR APPVEYOR_*
deps = codecov
skip_install = true
commands =

Loading…
Cancel
Save