Unverified Commit 827f688a authored by jlaura's avatar jlaura Committed by GitHub
Browse files

Fixes #5 (#6)

* Fixes #5
parent e2c7417b
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
from csmapi import *
from csmapi.csmapi import *
+2 −1
Original line number Diff line number Diff line
@@ -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():