Skip to content

Commit

Permalink
try to fix anaconda build
Browse files Browse the repository at this point in the history
  • Loading branch information
gouarin committed Nov 19, 2017
1 parent 44c61c7 commit b461f29
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ install:
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda install conda conda-build anaconda-client;
- |
if [[ $TRAVIS_TAG ]]; then
conda install conda conda-build anaconda-client;
conda install conda-build anaconda-client;
fi;
- conda create -q -n splinart-env python=$PYVER
- source activate splinart-env
Expand All @@ -37,10 +36,16 @@ install:
script:
- pytest --pylint --pylint-rcfile=.pyrcfile --pylint-error-types=EF splinart
- pytest --cov=splinart tests
# to remove
- python setup.py sdist
- conda build -q --python $PYVER recipes
- conda install --use-local ${PROJECT_NAME}
- conda uninstall ${PROJECT_NAME}
- anaconda -t $ANACONDA_TOKEN upload -u gouarin --force ${HOME}/miniconda/conda-bld/*/${PROJECT_NAME}-*.tar.bz2
- |
if [[ $TRAVIS_TAG ]]; then
python setup.py sdist;
conda build -q recipes &&
conda build -q --python $PYVER recipes &&
conda install --use-local ${PROJECT_NAME} &&
conda uninstall ${PROJECT_NAME};
fi
Expand Down
2 changes: 1 addition & 1 deletion splinart/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.1.2'
__version__ = '0.1.7'

0 comments on commit b461f29

Please sign in to comment.