-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from pllim/fix-tests
Port tests over from pandokia
- Loading branch information
Showing
203 changed files
with
4,184 additions
and
26,825 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
language: python | ||
|
||
python: | ||
- 2.7 | ||
- 3.5 | ||
- 3.6 | ||
|
||
env: | ||
global: | ||
# The following versions are the 'default' for tests, unless | ||
# overridden underneath. They are defined here in order to save having | ||
# to repeat them for all configurations. | ||
- NUMPY_VERSION=stable | ||
- ASTROPY_VERSION=stable | ||
- PIP_DEPENDENCIES='' | ||
- CONDA_DEPENDENCIES='' | ||
- MAIN_CMD='pytest pysynphot' | ||
|
||
matrix: | ||
include: | ||
|
||
# Also test Astropy dev with remote data | ||
- python: 3.5 | ||
env: ASTROPY_VERSION=development MAIN_CMD='pytest --cdbs pysynphot' | ||
|
||
install: | ||
# We now use the ci-helpers package to set up our testing environment. | ||
# This is done by using Miniconda and then using conda and pip to install | ||
# dependencies. Which dependencies are installed using conda and pip is | ||
# determined by the CONDA_DEPDENDENCIES and PIP_DEPENDENCIES variables, | ||
# which should be space-delimited lists of package names. See the README | ||
# in https://github.com/astropy/ci-helpers for information about the full | ||
# list of environment variables that can be used to customize your | ||
# environment. In some cases, ci-helpers may not offer enough flexibility | ||
# in how to install a package, in which case you can have additional | ||
# commands in the install: section below. | ||
|
||
- git clone git://github.com/astropy/ci-helpers.git | ||
- source ci-helpers/travis/setup_conda_$TRAVIS_OS_NAME.sh | ||
|
||
# As described above, using ci-helpers, you should be able to set up an | ||
# environment with dependencies installed using conda and pip, but in some | ||
# cases this may not provide enough flexibility in how to install a | ||
# specific dependency (and it will not be able to install non-Python | ||
# dependencies). Therefore, you can also include commands below (as | ||
# well as at the start of the install section or in the before_install | ||
# section if they are needed before setting up conda) to install any | ||
# other dependencies. | ||
|
||
script: | ||
- $MAIN_CMD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
PySynphot | ||
========= | ||
|
||
|docs| | ||
|travisci| |docs| | ||
|
||
.. |docs| image:: https://readthedocs.org/projects/pysynphot/badge/?version=latest | ||
:alt: Documentation Status | ||
:scale: 100% | ||
:target: https://pysynphot.readthedocs.io/en/latest/?badge=latest | ||
|
||
.. |travisci| .. image:: https://travis-ci.org/spacetelescope/pysynphot.svg?branch=master | ||
:alt: Travis CI Status | ||
:target: https://travis-ci.org/spacetelescope/pysynphot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.