Skip to content
Snippets Groups Projects
Unverified Commit 827f688a authored by jlaura's avatar jlaura Committed by GitHub
Browse files

Fixes #5 (#6)

* Fixes #5
parent e2c7417b
No related branches found
No related tags found
No related merge requests found
...@@ -19,8 +19,11 @@ install: ...@@ -19,8 +19,11 @@ install:
- conda config --add channels conda-forge - conda config --add channels conda-forge
# Setup to do the build # Setup to do the build
- conda install -y -q conda-build anaconda-client - conda install -y -q conda-build anaconda-client
- conda config --set anaconda_upload yes
script: script:
# Build and upload on success # 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
from csmapi import * from csmapi.csmapi import *
...@@ -2,9 +2,10 @@ import pytest ...@@ -2,9 +2,10 @@ import pytest
import csmapi import csmapi
import ctypes import ctypes
from ctypes.util import find_library
# Load a plugin with CSM compliant sensors # 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 @pytest.fixture
def plugin(): def plugin():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment