Commit 21a33dbb authored by Jay's avatar Jay Committed by jay
Browse files

Setting up travis and removing tox items

parent ed8bab65
Loading
Loading
Loading
Loading

MANIFEST.in

deleted100644 → 0
+0 −11
Original line number Diff line number Diff line
include AUTHORS.rst
include CONTRIBUTING.rst
include HISTORY.rst
include LICENSE
include README.rst

recursive-include tests *
recursive-exclude * __pycache__
recursive-exclude * *.py[co]

recursive-include docs *.rst conf.py Makefile make.bat

autocnet/.travis.yml

0 → 100644
+34 −0
Original line number Diff line number Diff line
language: python
sudo: false
branches:
only:
  - master
env:
  - PYTHON=3.4 DEPS=modern

before_install:
  - wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
  - chmod +x miniconda.sh
  - ./miniconda.sh -b
  - export PATH=/home/travis/miniconda/bin:$PATH
  - conda update --yes conda
  - conda create -y -q -n test-env python=$TRAVIS_PYTHON_VERSION
  - source activate test-env

install:
  - conda install --yes nose gdal
  - pip install -r travis.txt

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

  #- cd doc; make pickle; make doctest
notifications:
    email:
        recipients:
            - jlaura@usgs.gov
        on_success: always
        on_failure: always

after_success:
  - coveralls
 No newline at end of file

tests/__init__.py

deleted100755 → 0
+0 −1
Original line number Diff line number Diff line
# -*- coding: utf-8 -*-

tests/test_autocnet.py

deleted100755 → 0
+0 −30
Original line number Diff line number Diff line
#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
test_autocnet
----------------------------------

Tests for `autocnet` module.
"""

import unittest

from autocnet import autocnet


class TestAutocnet(unittest.TestCase):

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def test_000_something(self):
        pass


if __name__ == '__main__':
    import sys
    sys.exit(unittest.main())

tox.ini

deleted100644 → 0
+0 −12
Original line number Diff line number Diff line
[tox]
envlist = py26, py27, py33, py34, py35

[testenv]
setenv =
    PYTHONPATH = {toxinidir}:{toxinidir}/autocnet
commands = python setup.py test

; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following lines:
; deps =
;     -r{toxinidir}/requirements.txt