Skip to content

Commit

Permalink
Merge pull request #37 from kelle/add_tests
Browse files Browse the repository at this point in the history
adding tests for dependencies and Python versions
  • Loading branch information
hover2pi committed Mar 29, 2016
2 parents 913a0b6 + e62234d commit d74c94e
Show file tree
Hide file tree
Showing 2 changed files with 334 additions and 303 deletions.
37 changes: 27 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,37 @@
language: python

python:
- '2.7'
- '3.3'
- '3.4'
- '3.5'
- 2.7
- 3.3
- 3.4
- 3.5

install:
- pip install astropy
- pip install matplotlib

script:
- py.test
env:
global:
# The following versions are the 'default' for tests, unless
# overidden underneath. They are defined here in order to save having
# to repeat them for all configurations.
- NUMPY_VERSION=stable
- ASTROPY_VERSION=stable
# For this package-template, we include examples of Cython modules,
# so Cython is required for testing. If your package does not include
# Cython code, you can set CONDA_DEPENDENCIES=''
- CONDA_DEPENDENCIES='matplotlib'
matrix:
# Make sure that egg_info works without dependencies
# - SETUP_CMD='egg_info'
# Try all python versions with the latest numpy
- SETUP_CMD='py.test'

matrix:
allow_failures:
- python: 3.3
- python: 3.4
- python: 3.5

install:
- git clone git://github.com/astropy/ci-helpers.git
- source ci-helpers/travis/setup_conda_$TRAVIS_OS_NAME.sh

script:
- $SETUP_CMD

0 comments on commit d74c94e

Please sign in to comment.