-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
322 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,41 @@ | ||
language: python | ||
python: | ||
- "2.6" | ||
- "2.7" | ||
- "3.3" | ||
- "3.4" | ||
- "3.5" | ||
- "3.6" | ||
|
||
matrix: | ||
include: | ||
- python: 2.6 | ||
env: | ||
- WITH_JWT=false | ||
WITH_HAWK=false | ||
- python: 2.7 | ||
env: | ||
- WITH_JWT=true | ||
WITH_HAWK=true | ||
- python: 3.3 | ||
env: | ||
- WITH_JWT=false | ||
WITH_HAWK=false | ||
- python: 3.4 | ||
env: | ||
- WITH_JWT=true | ||
WITH_HAWK=true | ||
- python: 3.5 | ||
env: | ||
- WITH_JWT=true | ||
WITH_HAWK=true | ||
- python: 3.6 | ||
env: | ||
- WITH_JWT=true | ||
WITH_HAWK=true | ||
|
||
before_install: | ||
- pip install --upgrade pytest | ||
|
||
install: "pip install -r requirements-dev.txt" | ||
install: | ||
- pip install -r requirements-dev.txt" | ||
$WITH_JWT && pip install pyjwt>=1.7.0 | ||
$WITH_HAWK && pip install mohawk>=1.0.0 | ||
|
||
script: py.test --cov-report term-missing --cov=falcon_auth | ||
|
||
after_success: | ||
- coveralls | ||
- coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM python:latest | ||
|
||
RUN pip install -U pytest | ||
|
||
WORKDIR /srv | ||
|
||
COPY falcon_auth falcon_auth | ||
COPY tests tests | ||
COPY setup.py setup.py | ||
COPY setup.cfg setup.cfg | ||
COPY requirements.txt requirements.txt | ||
|
||
RUN pip install -r requirements.txt | ||
RUN pip install 'pytest<4' pyjwt | ||
|
||
CMD ["/bin/bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.