forked from brainglobe/brainglobe-atlasapi
-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
6f2ca63
commit d4de359
Showing
5 changed files
with
83 additions
and
0 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 |
---|---|---|
|
@@ -127,3 +127,11 @@ dmypy.json | |
|
||
# Pyre type checker | ||
.pyre/ | ||
|
||
.idea/ | ||
.vs/ | ||
*.~lock.* | ||
|
||
|
||
# macOS | ||
*.DS_Store |
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,41 @@ | ||
language: python | ||
matrix: | ||
include: | ||
- os: linux | ||
python: 3.6 | ||
dist: bionic | ||
- os: linux | ||
python: 3.7 | ||
dist: bionic | ||
before_install: | ||
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; | ||
- bash miniconda.sh -b -p $HOME/miniconda | ||
- export PATH="$HOME/miniconda/bin:$PATH" | ||
- hash -r | ||
- conda config --set always_yes yes --set changeps1 no | ||
- conda info -a | ||
|
||
install: | ||
- conda create -n test-environment python=$TRAVIS_PYTHON_VERSION | ||
- source activate test-environment | ||
- pip install -e .[dev] | ||
- conda info -a | ||
after_success: | ||
- coveralls | ||
script: | ||
- black ./ -l 79 --check | ||
# - travis_wait 40 bash travis/run_tests.sh | ||
notifications: | ||
email: | ||
recipients: | ||
- [email protected] | ||
on_success: change | ||
on_failure: always | ||
#deploy: | ||
# - provider: pypi | ||
# user: __token__ | ||
# distributions: sdist bdist_wheel | ||
# skip_existing: true | ||
# on: | ||
# branch: master | ||
# tags: true |
Empty file.
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,33 @@ | ||
from setuptools import setup, find_namespace_packages | ||
|
||
requirements = [] | ||
|
||
|
||
setup( | ||
name="brainglobe", | ||
version="0.0.1a", | ||
description="TBC", | ||
install_requires=requirements, | ||
extras_require={ | ||
"dev": [ | ||
"sphinx", | ||
"recommonmark", | ||
"sphinx_rtd_theme", | ||
"pydoc-markdown", | ||
"black", | ||
"pytest-cov", | ||
"pytest", | ||
"gitpython", | ||
"coveralls", | ||
"coverage<=4.5.4", | ||
] | ||
}, | ||
python_requires=">=3.6", | ||
packages=find_namespace_packages(exclude=("docs", "tests*")), | ||
include_package_data=True, | ||
url="https://github.com/brainglobe/brainglobe", | ||
author="TBC", | ||
author_email="[email protected]", | ||
classifiers=["Development Status :: 3 - Alpha",], | ||
zip_safe=False, | ||
) |
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 @@ | ||
pytest --cov=brainglobe |