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

23
.travis.yml

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

2
tox.ini

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

Loading…
Cancel
Save