Loading .travis.yml +5 −2 Original line number Diff line number Diff line Loading @@ -19,8 +19,11 @@ install: - conda config --add channels conda-forge # Setup to do the build - conda install -y -q conda-build anaconda-client - conda config --set anaconda_upload yes script: # Build and upload on success - conda build --token $CONDA_UPLOAD_TOKEN recipe -q - if [ "${TRAVIS_PULL_REQUEST}" = "false" ] ;then conda config --set anaconda_upload yes && conda build --token $CONDA_UPLOAD_TOKEN recipe -q; else conda build recipe -q; fi python/__init__.py +1 −1 Original line number Diff line number Diff line from csmapi import * from csmapi.csmapi import * tests/test_plugin.py +2 −1 Original line number Diff line number Diff line Loading @@ -2,9 +2,10 @@ import pytest import csmapi import ctypes from ctypes.util import find_library # Load a plugin with CSM compliant sensors lib = ctypes.CDLL('/data/big/github/CSM-CameraModel/build/libusgscsm.so') lib = ctypes.CDLL(find_library('usgscsm.so')) @pytest.fixture def plugin(): Loading Loading
.travis.yml +5 −2 Original line number Diff line number Diff line Loading @@ -19,8 +19,11 @@ install: - conda config --add channels conda-forge # Setup to do the build - conda install -y -q conda-build anaconda-client - conda config --set anaconda_upload yes script: # Build and upload on success - conda build --token $CONDA_UPLOAD_TOKEN recipe -q - if [ "${TRAVIS_PULL_REQUEST}" = "false" ] ;then conda config --set anaconda_upload yes && conda build --token $CONDA_UPLOAD_TOKEN recipe -q; else conda build recipe -q; fi
python/__init__.py +1 −1 Original line number Diff line number Diff line from csmapi import * from csmapi.csmapi import *
tests/test_plugin.py +2 −1 Original line number Diff line number Diff line Loading @@ -2,9 +2,10 @@ import pytest import csmapi import ctypes from ctypes.util import find_library # Load a plugin with CSM compliant sensors lib = ctypes.CDLL('/data/big/github/CSM-CameraModel/build/libusgscsm.so') lib = ctypes.CDLL(find_library('usgscsm.so')) @pytest.fixture def plugin(): Loading