Skip to content

Commit

Permalink
Add requirements file and PyAstronomy
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-neal committed Mar 24, 2017
1 parent 7d5c1bb commit 64da77e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ before_install:
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
install:
install:
#- conda install --yes python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib #nose atlas dateutil pandas statsmodels
# Coverage packages are on my binstar channel
#- conda install --yes -c dan_blanchard python-coveralls nose-cov
Expand All @@ -32,19 +32,19 @@ install:
- python setup.py install


- pip install python-coveralls
- pip install pytest-cov
# install:
- pip install pytest-cov python-coveralls
- pip install -r requirements.txt
# install:
# - pip install numpy
# - pip install tox
# - pip install matplotlib
# - pip install hypothesis

# command to run tests
script:
script:
# - py.test -cov coveralls --cov-report term-missing
# - py.test --cov=spectrum_overload spectrum_overload/ --cov-report term-missing
- py.test --cov=spectrum_overload --cov-report term-missing

after_success:
- coveralls
- coveralls
8 changes: 8 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
pyastronomy
numpy
astropy
scipy
hypothesis
pytest
pytest-cov
python-coveralls

0 comments on commit 64da77e

Please sign in to comment.