Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
Fixed tox and all dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellsayer committed Nov 20, 2019
1 parent f8b6ac2 commit 9d733d6
Show file tree
Hide file tree
Showing 18 changed files with 125 additions and 70 deletions.
10 changes: 2 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,21 @@ sudo: false

python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
env:
- NB_VERSION=4
- NB_VERSION=5
- FLAKE8=true NB_VERSION=5
- NOTEST=true NB_VERSION=5

services:
- postgresql

addons:
postgresql: "9.5"

install:
- pip install tox

script:
- if [[ $TRAVIS_PYTHON_VERSION = '2.7' ]]; then tox -e py27-notebook$NB_VERSION; fi
- if [[ $TRAVIS_PYTHON_VERSION = '3.5' ]]; then tox -e py35-notebook$NB_VERSION; fi
- if [[ $TRAVIS_PYTHON_VERSION = '3.6' ]]; then tox -e py36-notebook$NB_VERSION; fi
- if [[ $TRAVIS_PYTHON_VERSION = '3.7' ]]; then tox -e py37-notebook$NB_VERSION; fi
- if [[ $FLAKE8 = 'true' ]]; then tox -e notest; fi
- if [[ $NOTEST = 'true' ]]; then tox -e flake8; fi

Expand Down
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ psycopg2 = ">=2.6.1"
requests = ">=2.7.0"
six = ">=1.9.0"
notebook = {extras = ["test"],version = ">=4.0"}
hybrid-content-manager = {editable = true,extras = ["test"],path = "."}

[requires]
python_version = "3.6"
119 changes: 97 additions & 22 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
itervalues,
)
from unittest import TestCase
from unittest.mock import Mock
from mock import Mock

from IPython.utils.tempdir import TemporaryDirectory

from pgcontents.hybridmanager import HybridContentsManager
from hybrid_content_manager.hybridmanager import HybridContentsManager

from .testing_utils import assertRaisesHTTPError

Expand Down
2 changes: 2 additions & 0 deletions notebook4_constraints.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
notebook<5
tornado<5
1 change: 1 addition & 0 deletions notebook5_constraints.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
notebook<6
1 change: 1 addition & 0 deletions notebook6_constraints.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
notebook<7
5 changes: 1 addition & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
click>=3.3
psycopg2>=2.6.1
requests>=2.7.0
six>=1.9.0
notebook[test]>=4.0
notebook[test]>=4.0
6 changes: 1 addition & 5 deletions requirements_test.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# Test reqs.
tox
nose==1.3.4
pytest
python-dateutil==2.4.2
nose-ignore-docstring==0.2
pyflakes==0.9.2
pep8==1.6.2
mccabe==0.3.1
flake8==2.2.5
mock==2.0.0
4 changes: 0 additions & 4 deletions setup.cfg

This file was deleted.

Loading

0 comments on commit 9d733d6

Please sign in to comment.