Commit c84c619b authored by Kelvin Rodriguez's avatar Kelvin Rodriguez
Browse files

travis

parent 0cd9f1f5
Loading
Loading
Loading
Loading
+5 −5
Changes for .travis.yml: 5 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -14,8 +14,6 @@ os:
  - linux
  - osx

before_install:

install:
  # We do this conditionally because it saves us some downloading if the
  # version is the same.
@@ -44,6 +42,7 @@ install:
  - conda config --add channels conda-forge
  - conda config --add channels menpo
  - conda config --add channels jlaura
  - conda install python=$PYTHON_VERSION
  - conda install -c conda-forge numpy
  - conda install -c jlaura plio opencv3=3.0.0
  - conda install -c conda-forge vlfeat
@@ -52,11 +51,10 @@ install:
  - conda install scipy networkx numexpr dill cython pyyaml matplotlib runipy

  # Development installation
  - conda install nose coverage sh anaconda-client
  - conda install pytest pytest-cov coverage sh anaconda-client
  - pip install coveralls
  - python runipynbs.py


    # Straight from the menpo team
  - if [["$TRAVIS_OS_NAME" == "osx"]]; then
      curl -o condaci.py https://raw.githubusercontent.com/menpo/condaci/v0.4.8/condaci.py;
@@ -67,7 +65,9 @@ install:
  - python condaci.py setup

script:
  - nosetests --with-coverage --cover-package=autocnet
  - pytest --cov=autocnet
  # clean up any remaining processes...
  - killall5

after_success:
  # Upload to anaconda and push to coveralls
+2 −2
Changes for autocnet/control/control.py: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -156,8 +156,8 @@ class CorrespondenceNetwork(object):
            p = Point(self.point_id)
            destination_idx = df['destination_idx'][k]

            sidx = Correspondence(source_idx, *s_kps[source_idx], serial=edge.source.isis_serial)
            didx = Correspondence(destination_idx, *d_kps[destination_idx], serial=edge.destination.isis_serial)
            sidx = Correspondence(source_idx, *s_kps[int(source_idx)], serial=edge.source.isis_serial)
            didx = Correspondence(destination_idx, *d_kps[int(destination_idx)], serial=edge.destination.isis_serial)

            p.correspondences = [sidx, didx]