Commit 74f64b4e authored by jlaura's avatar jlaura Committed by GitHub
Browse files

Merge pull request #127 from jlaura/master

Doc updates
parents d47c6944 71c0d6d8
Loading
Loading
Loading
Loading
+41 −17
Changes for .travis.yml: 41 added lines, 17 removed lines.
Original line number Diff line number Diff line
language: python
sudo: false

branches:
only:
  - master

python:
  - "3.5"
env:
  global:
    - BINSTAR_USER: jlaura
  matrix:
    - PYTHON_VERSION: 3.5

os:
  - linux
  - osx

before_install:

install:
  # We do this conditionally because it saves us some downloading if the
  # version is the same.
  - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then
      if [ "$PYTHON_VERSION" == 2.7 ]; then
        wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
      else
        wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
      fi
    else
      if ["$PYTHON_VERSION" == 2.7]; then
        curl -o miniconda.sh  https://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh;
      else
        curl -o miniconda.sh  https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh;
      fi
    fi
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH="$HOME/miniconda/bin:$PATH"
  - hash -r
@@ -26,33 +40,43 @@ install:
  # Useful for debugging any issues with conda
  - conda info -a

  # Create a virtual env and install dependencies
  - conda create -y -q -n test-env python=$TRAVIS_PYTHON_VERSION nose numpy pillow scipy pandas networkx scikit-image sqlalchemy numexpr dill cython pyyaml
  # Activate the env
  - source activate test-env

  # Install the non-conda packages if required, requirements.txt duplicates are ignored
  - conda install -c https://conda.anaconda.org/jlaura opencv3=3.0.0
  - conda install -c menpo cyvlfeat
  # Install dependencies
  - conda config --add channels conda-forge
  - conda install runipy
  - conda install -c https://conda.anaconda.org/conda-forge gdal h5py
  - pip install -r requirements.txt
  - conda config --add channels jlaura
  - conda config --add channels menpo
  - conda install -c jlaura plio opencv3
  - conda install -c conda-forge vlfeat
  - conda install -c menpo cyvlfeat
  - pip install pillow pysal
  - conda install scipy networkx numexpr dill cython pyyaml matplotlib runipy

  # Development installation
  - conda install nose coverage
  - conda install nose 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;
    else
      wget https://raw.githubusercontent.com/menpo/condaci/v0.4.8/condaci.py -O condaci.py;
    fi
    # Build autocnet and push to anaconda cloud
  - python condaci.py setup

script:
  - nosetests --with-coverage --cover-package=autocnet

after_success:
  # Upload to anaconda and push to coveralls
  - ~/miniconda/bin/python condaci.py build ./conda
  - coveralls

notifications:
  webhooks:
    urls:
 #     - https://webhooks.gitter.im/e/6cbe4b65fff6764ed80f
      - https://webhooks.gitter.im/e/6cbe4b65fff6764ed80f
    on_success: always  
    on_failure: always  
    on_start: never     
+9 −0
Changes for autocnet/__init__.py: 9 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -9,3 +9,12 @@ def get_data(filename):
    fullname = os.path.join(dirname, filename)
    return fullname

import autocnet.examples
import autocnet.camera
import autocnet.cg
import autocnet.control
import autocnet.graph
import autocnet.matcher
import autocnet.transformation
import autocnet.utils
import autocnet.utils
 No newline at end of file
+0 −6159

File deleted.

Preview size limit exceeded, changes collapsed.

+0 −25

File deleted.

Preview size limit exceeded, changes collapsed.

+0 −25

File deleted.

Preview size limit exceeded, changes collapsed.

Loading