Skip to content

Commit

Permalink
Merge pull request #51 from phausamann/develop
Browse files Browse the repository at this point in the history
Deployment fixes
  • Loading branch information
phausamann committed Jun 18, 2020
2 parents dedf70f + 1e6edc5 commit 0a8e612
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Expand Up @@ -19,7 +19,7 @@ env:
jobs:
include:
- python: 3.6
env: COVERAGE="true" BLACK="true" FLAKE8="true"
env: COVERAGE="true" BLACK="true" FLAKE8="true" PAGES="true" PYPI="true"
- python: 3.7
- python: 3.8
- env: CONDA_BLD_PATH=~/conda-bld
Expand All @@ -28,7 +28,7 @@ jobs:
- conda install -y conda-build anaconda-client
- conda config --set anaconda_upload no
script:
- conda build -c conda-forge build_tools/conda
- conda build build_tools/conda
after_success:
- chmod +x build_tools/travis/conda_upload.sh

Expand All @@ -50,6 +50,7 @@ deploy:
github-token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
keep-history: true
on:
condition: "$PAGES = true"
branch: master

- provider: pypi
Expand All @@ -58,13 +59,14 @@ deploy:
password:
secure: cRtfmsupJcyrZ1EU+NJ1eng0Abn9LeDVHLf1xZ1/1sg3qq6PwJwxNFJHTMin0sIJXERFAGG3btRnFqiwYsrxF7OdWObDYZN3G9riKKhS2Z5bSanWyrQk4XF/s9haONHKv2falsZ6nnux9GDMod+ojPzedNGagISLsLixHMRZmYFnUAJtdzDOm6PoNTui0+0C3bHoAIPu+FZJ1rPV1xmGM+4YGLg/j3yFt6SIY0XYY9d2torXSwD1E0+8V/kPxTcyNCQVE9LlFP3v9xLt2wYq7ehjGbetehSZyJxjchjtgABBMBkGTKqBwb3pgagaRmC9KVatpRVVVSLJRZAbFOmfK3QkZzrVzDVwOEloVhhUxUAm3rZDbZHmvHO0maS5VkpDAb3lE1edLziLiD0qqLBSuy5Tru+uELa6IO6gO8r/dA8usnKAcNWHIjrpLd3W7P+btjrmrSx8ReYs9PitKFiCLgleoAJGZFoSN0sOIAimCzvIsCvJyjlbHOvDyb+ziqvxu66yz/hBmupGibIT2529pyVW713gBOyrIvsLqzX3uDw6aYMTSi4aYp5+sfkCA5RE8Fc6PEPnqj6LbWjBF6bgelj3wUc9J4ZniuSWFMDKmBhk/p/j9CRg7RYQ5g+lK5E0oJma0vThqx8MKDivVk4oOMD8txcA0g1DJn8oE6i4ptc=
on:
condition: "$PYPI = true"
branch: master
tags: true

- provider: script
skip_cleanup: true
script: build_tools/travis/conda_upload.sh
on:
condition: "$CONDA_BLD_PATH = $HOME/conda-bld"
branch: master
tags: true
skip_cleanup: true
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -51,7 +51,7 @@ The package can be installed with ``pip``::

or with ``conda``::

$ conda install -c phausamann -c conda-forge sklearn-xarray
$ conda install -c phausamann sklearn-xarray


Example
Expand Down
1 change: 1 addition & 0 deletions build_tools/conda/meta.yaml
Expand Up @@ -28,6 +28,7 @@ requirements:
test:
source_files:
- tests
- .coveragerc
requires:
- pytest
- pytest-cov
Expand Down
2 changes: 1 addition & 1 deletion docs/content/installation.rst
Expand Up @@ -7,7 +7,7 @@ The package can be installed with ``pip``::

or with ``conda``::

$ conda install -c phausamann -c conda-forge sklearn-xarray
$ conda install -c phausamann sklearn-xarray


Testing
Expand Down

0 comments on commit 0a8e612

Please sign in to comment.