Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 18 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,31 @@ language: python
sudo: false

python:
- 2.6
- 2.7
- 3.3
- 3.4
- 3.5

env:
- CONDA_DEPS="numpy scipy nose pip scikit-learn" PIP_DEPS="supersmoother astroML astroML_addons"
global:
- TEST_DIR=/tmp/megaman
- CONDA_DEPS="numpy scipy nose pip coverage scikit-learn"
- PIP_DEPS="supersmoother astroML astroML_addons"

before_install:
- export MINICONDA=$HOME/miniconda
- export PATH="$MINICONDA/bin:$PATH"
- hash -r
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -f -p $MINICONDA
- conda config --set always_yes yes
- conda update conda
- conda info -a
- conda install python=$TRAVIS_PYTHON_VERSION $CONDA_DEPS
- travis_retry pip install $PIP_DEPS

install:
- conda create -n testenv --yes python=$TRAVIS_PYTHON_VERSION
- source activate testenv
- conda install --yes $CONDA_DEPS
- pip install $PIP_DEPS
- python setup.py install

before_install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda3/bin:$PATH
# miniconda is not always up-to-date with conda.
- conda update --yes conda

script:
- nosetests --with-doctest gatspy
- mkdir -p $TEST_DIR
- cd $TEST_DIR && nosetests -v --with-doctest --with-coverage --cover-package=gatspy gatspy
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- Make ``supersmoother`` a soft dependency
- New feature: ``gatspy.periodic.TrendedLombScargle`` extends ``LombScargle``
by adding a linear trend parameter ``d*t`` to the fitted model
- Fixed download URL for RR Lyrae datasets

## (v0.2.1) bugfix release (19 Aug 2015)

Expand Down
4 changes: 3 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
include *.md
include *.py
recursive-include gatspy *.py
recursive-include doc *
recursive-include examples *.ipynb
include LICENSE
include Makefile
include Makefile
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Gatspy uses ``nose`` for unit tests. With nosetests installed, type

to run the unit tests.

The tests are run on Python versions 2.6, 2.7, 3.3, 3.4, and 3.5.
The tests are run on Python versions 2.7, 3.4, and 3.5.

## Authors
- [Jake VanderPlas](http://www.vanderplas.com)
Expand Down
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ def version(path):
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5'],
)