Skip to content

Commit

Permalink
Merge pull request #25 from NovelaNeuro/user/acwikla/change_pypi_to_a…
Browse files Browse the repository at this point in the history
…naconda
  • Loading branch information
wbodo authored Apr 22, 2020
2 parents 94a7588 + fc2e2a3 commit c40215a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
10 changes: 2 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,5 @@ install:
- python setup.py install
script:
- python -m pytest src/pynwb/tests
deploy:
provider: pypi
user: __token__
password:
secure: KnV/YfWrP/YB0D+75TQ2cggtt0L8ouiIqT564RBv0AkNQH+9fwZZ4vcCOeAiNgWPSeaosHpCRLkugDiEtB5sfFlBGn8LfABObD0bcng3WGkHwOvq0HLvNyxOpvya8M+8muUERiykNG4/nIRXYUhjytSjfAS3iKR714E9+zOL1SVDjdx/fVd2rqN3vrfyOOfY6NGoyQPrtUyonwJLEejVBkKzA2hvRRiY9+R2ArNIy0zAyuBe1DgV+C7t/0WfvHQjuGSlcd0/SgR5tO4G6wThcUe6KfBPZe+qNXcS4KWeVPDE2Mx3xFzzFafCSJpOmqJzvjSc2tMlu8PAEm72hmtcohh2/GJFs4nj2oX2CYCUgDhY47g26MTXP9OY966BQshGBEwh7Bs+murWHz8SebVnslP7nrpRVm555iB67uSre2VVeGN4yjPOMjC/kjSBdUUlLbaSp2x8cLE1jwkoDwrpJoM1k97t1N910DAn8VgQiIGHH1tLjnqSK15dEX31cZwKEQlAxMR48tDOc3KqHvPEJrr+koY3NbP0PvJLlOu/an/W2OkoWGqUYhIuQblEhaDIJlnQg7YnhaFwRnBhJrwOBJwTckbRb4OvvnNPn88NR44J8WxXH3QIR7YfeqzeO+z28zx2G0R25arMg63UH/I0SbVQFdgcTsKUwypqM5dOekM=
on:
branch: master_release
distributions: sdist bdist_wheel
after_success:
- test $TRAVIS_BRANCH = "master_release" && conda install conda-build anaconda-client conda-verify && bash conda_upload.sh
4 changes: 2 additions & 2 deletions conda_upload.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/bin/bash

export PKG_NAME=ndx-fl-novela
export ANACONDA_API_TOKEN=$CONDA_UPLOAD_TOKEN
export CONDA_BUILD_PATH=/home/travis/miniconda/envs/test-environment/conda-bld

conda config --set anaconda_upload no
export ANACONDA_API_TOKEN=$CONDA_UPLOAD_TOKEN

echo "Building conda package..."
conda build . || exit 1
export CONDA_BUILD_PATH=/home/travis/miniconda/envs/test-environment/conda-bld

echo "Converting conda package..."
conda convert --platform osx-64 $CONDA_BUILD_PATH/linux-64/***.tar.bz2 --output-dir $CONDA_BUILD_PATH -q || exit 1
Expand Down

0 comments on commit c40215a

Please sign in to comment.