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

package dependency refactor #61

Merged
merged 1 commit into from
Jun 1, 2020
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
23 changes: 8 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ dist: xenial

env:
matrix:
- PYTHON_VERSION="3.6"
- PYTHON_VERSION="3.7"
- PYTHON_VERSION="3.8" TEST_BLACK=true
- PYTHON_VERSION="36"
- PYTHON_VERSION="37"
- PYTHON_VERSION="38" TEST_BLACK=true

install:
# Install miniconda
Expand All @@ -16,24 +16,17 @@ install:
- bash miniconda.sh -b -p ${HOME}/miniconda
- export PATH="${HOME}/miniconda/bin:$PATH"

# Create the testing environment
# ------------------------------
- echo "Configure conda and create test environment"
# Configure conda
# ---------------
- echo "Configure conda"
- conda config --set always_yes yes --set changeps1 no
- conda config --set show_channel_urls True
- conda config --add channels conda-forge
- conda update --quiet conda
- ENV_NAME="test-environment"
- conda create --quiet -n ${ENV_NAME} python=${PYTHON_VERSION} pip
- ENV_NAME="tephi-dev"
- conda env create --quiet --file="ci/requirements/py3/py${PYTHON_VERSION}.yml"
- source activate ${ENV_NAME}

# Customise the testing environment
# ---------------------------------
- echo "Install tephi dependencies"
- CI_BASE="ci/requirements"
- conda install --quiet -n ${ENV_NAME} --file ${CI_BASE}/requirements.txt --file ${CI_BASE}/requirements-dev.txt
- pip install coveralls

# Output debug info
# -----------------
- conda list -n ${ENV_NAME}
Expand Down
24 changes: 24 additions & 0 deletions ci/requirements/py3/py36.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: tephi-dev
channels:
- conda-forge
dependencies:
# core
- python=3.6
- matplotlib
- numpy
- scipy
- scooby
# development
- black
- coveralls
- filelock
- flake8
- imagehash
- pillow<7
- pip
- pre-commit
- pytest
- pytest-cov
- sphinx
- sphinx-copybutton
- sphinx_rtd_theme
24 changes: 24 additions & 0 deletions ci/requirements/py3/py37.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: tephi-dev
channels:
- conda-forge
dependencies:
# core
- python=3.7
- matplotlib
- numpy
- scipy
- scooby
# development
- black
- coveralls
- filelock
- flake8
- imagehash
- pillow<7
- pip
- pre-commit
- pytest
- pytest-cov
- sphinx
- sphinx-copybutton
- sphinx_rtd_theme
24 changes: 24 additions & 0 deletions ci/requirements/py3/py38.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: tephi-dev
channels:
- conda-forge
dependencies:
# core
- python=3.8
- matplotlib
- numpy
- scipy
- scooby
# development
- black
- coveralls
- filelock
- flake8
- imagehash
- pillow<7
- pip
- pre-commit
- pytest
- pytest-cov
- sphinx
- sphinx-copybutton
- sphinx_rtd_theme
13 changes: 0 additions & 13 deletions ci/requirements/requirements-dev.txt

This file was deleted.

3 changes: 0 additions & 3 deletions ci/requirements/requirements.txt

This file was deleted.

2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: binder-tephi
name: tephi-binder
channels:
- conda-forge
dependencies:
Expand Down