Skip to content
Open
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
21 changes: 12 additions & 9 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
environment:
PYTHONIOENCODING: UTF-8
matrix:
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python37-x64"

install:
- set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
- python -m pip install -U pip
- pip install -r requirements.txt
- TOXENV: py35
PYTHON: "C:\\Python35-x64"
- TOXENV: py36
PYTHON: "C:\\Python36-x64"
- TOXENV: py37
PYTHON: "C:\\Python37-x64"
- TOXENV: py38
PYTHON: "C:\\Python38-x64"

build: off

install:
- "%PYTHON%\\python -m pip install tox"

test_script:
- pytest -v -s --cov
- "%PYTHON%\\python -m tox"
31 changes: 26 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,57 @@ matrix:
include:
- os: linux
python: 3.5
env:
- PYENV_VERSION=3.5
- os: linux
python: 3.6
env:
- PYENV_VERSION=3.6
- os: linux
python: 3.7
env:
- PYENV_VERSION=3.7
- os: linux
python: 3.8
env:
- PYENV_VERSION=3.8
- os: osx
language: generic
env: PYENV_VERSION=3.5.4
env:
- PYENV_VERSION=3.5.4
- os: osx
language: generic
env: PYENV_VERSION=3.6.8
env:
- PYENV_VERSION=3.6.8
- os: osx
language: generic
env: PYENV_VERSION=3.7.4
env:
- PYENV_VERSION=3.7.4
- os: osx
language: generic
env:
- PYENV_VERSION=3.8.5

before_install:
- export LOG_LEVEL=DEBUG
install:
- python -m pip install -U pip
- if [ "$TRAVIS_OS_NAME" == "osx" ] ; then brew update ; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ] ; then brew outdated pyenv || brew upgrade pyenv ; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ] ; then pyenv install $PYENV_VERSION ; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ] ; then ~/.pyenv/versions/$PYENV_VERSION/bin/python -m venv .venv ; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ] ; then source .venv/bin/activate ; fi
- if [ "PYENV_VERSION" == "3.5" ] || [ "PYENV_VERSION" == "3.5.4" ] ; then pip install -Iv synapseclient==1.9.2; else pip install -Iv synapseclient>=2.3.1,<3.0.0 ; fi
- pip install -Iv beautifultable>=0.7.0,<1.0.0
- pip install pytest pytest-mock pytest-cov coverage responses
- python --version
- python -m pip install -U pip
- pip install -r requirements.txt
- synapse --version
- pip install coveralls
before_script:
- python -m coverage erase
script:
- python --version
- synapse --version
- python -m pytest -v -s --cov
after_success:
- python -m coveralls
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,29 @@
# Change Log

## Version 0.0.3 (2021-06-23)

### Changes

- Upgraded synapsecleint to 2.3.1.
- Added `version` method to `KiProject`.
- Upgrade dependencies.

## Version 0.0.2 (2019-09-17)

### Changes

- Refactored `KiProject` initialization.
- Added initialization prompt for the `KiProject` description.
- Added NOTICE file containing copyright. Removed copyright from source files.
- Changed docstrings to "Google" style.
- Added module docs.

### Breaking Changes
- `KiProject` constructor argument `init_no_prompt` renamed to `no_prompt`.

- `KiProject` constructor argument `init_no_prompt` renamed to `no_prompt`.

## Version 0.0.1 (2019-06-11)

### Changes

- Initial release.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ docs:
rmdir ./docs/kitools


.PHONY: init_dev
init_dev:
pip install -r requirements.txt
.PHONY: pip_install
pip_install:
pipenv install --dev


.PHONY: test
Expand Down
24 changes: 24 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[packages]
synapseclient = "*"
beautifultable = "==0.7.0"

[dev-packages]
autopep8 = "*"
pdoc3 = "*"
twine = "*"
pylint = "*"
pytest = "*"
pytest-mock = "*"
pytest-pylint = "*"
pytest-cov = "*"
tox = "*"
coverage = "*"
responses = "*"

[requires]
python_version = "3.7"
Loading