Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use AppVeyor for Windows CI #440

Merged
merged 2 commits into from
Apr 3, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<img src="logo.png" alt="proselint logo" width="200">

[![Build Status](https://travis-ci.org/amperser/proselint.svg)](https://travis-ci.org/amperser/proselint)
[![Build status](https://ci.appveyor.com/api/projects/status/q62v01sw02dwa1gf?svg=true)](https://ci.appveyor.com/project/suchow/proselint)
[![Code Climate](https://codeclimate.com/repos/5538989ee30ba0793100090f/badges/e10a2fe18a9256d69e2a/gpa.svg)](https://codeclimate.com/repos/5538989ee30ba0793100090f/feed)
[![Coverage Status](https://coveralls.io/repos/amperser/proselint/badge.svg?branch=master&service=github&t=2lhJpx)](https://coveralls.io/github/amperser/proselint?branch=master)
![Lint score](http://img.shields.io/badge/lintscore_v0.1.0-98.8-blue.svg)
Expand Down
18 changes: 18 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
environment:
matrix:
- PYTHON: "C:\\Python27"
- PYTHON: "C:\\Python33"
- PYTHON: "C:\\Python34"
- PYTHON: "C:\\Python35"

build: false

install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- pip install -r requirements.txt

build_script:
- python setup.py install

test_script:
- nosetests
6 changes: 5 additions & 1 deletion proselint/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@
import traceback
import os
import shelve
import dbm
import inspect
import functools
import re
import hashlib

try:
import dbm
except ImportError:
import anydbm as dbm

_cache_shelves = dict()


Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-e git+https://github.com/amperser/proselint.git#egg=proselint
-e git+https://github.com/amperser/proselint.git@appveyor#egg=proselint
-e git+https://github.com/charlierguo/gmail.git#egg=gmail
APScheduler==3.0.5
bumpversion==0.5.3
Expand All @@ -14,6 +14,7 @@ gunicorn==19.4.5
itsdangerous==0.24
Jinja2==2.8.0
MarkupSafe==0.23
nose==1.3.7
pep257==0.7.0
pep8==1.7.0
queuelib==1.4.2
Expand Down