Commit a1ec41c7 authored by jlaura's avatar jlaura Committed by GitHub
Browse files

Fixes travis upload error and version check (#102)

parent 9227329f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ after_success:
  - conda install -q conda-build anaconda-client
  - conda config --set anaconda_upload no
  - conda build recipe -q
  - buildir=(`conda build recipe --output`)
  - builddir=(`conda build recipe --output`)
  - anaconda -t="$CONDA_UPLOAD_TOKEN" upload $builddir --label dev --force;

  # Docs to gh-pages
+1 −2
Original line number Diff line number Diff line
@@ -9,10 +9,9 @@ try:
    if not here.startswith(os.path.join(dist_loc, 'plio')):
        # not installed, but there is another version that *is*
        raise DistributionNotFound
    __version__ = _dist.version
except DistributionNotFound:
    __version__ = 'Please install this project with setup.py'
else:
    __version__ = _dist.version

# Submodule imports
from . import io