File tree Expand file tree Collapse file tree 2 files changed +21
-15
lines changed Expand file tree Collapse file tree 2 files changed +21
-15
lines changed Original file line number Diff line number Diff line change @@ -11,22 +11,26 @@ python:
1111 - 3.5
1212
1313env :
14- - CONDA_DEPS="numpy scipy nose pip scikit-learn" PIP_DEPS="supersmoother astroML astroML_addons"
14+ global :
15+ - TEST_DIR=/tmp/megaman
16+ - CONDA_DEPS="numpy scipy nose pip scikit-learn"
17+ - PIP_DEPS="supersmoother astroML astroML_addons"
18+
19+ before_install :
20+ - export MINICONDA=$HOME/miniconda
21+ - export PATH="$MINICONDA/bin:$PATH"
22+ - hash -r
23+ - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
24+ - bash miniconda.sh -b -f -p $MINICONDA
25+ - conda config --set always_yes yes
26+ - conda update conda
27+ - conda info -a
28+ - conda install python=$TRAVIS_PYTHON_VERSION $CONDA_DEPS
29+ - travis_retry pip install $PIP_DEPS
1530
1631install :
17- - conda create -n testenv --yes python=$TRAVIS_PYTHON_VERSION
18- - source activate testenv
19- - conda install --yes $CONDA_DEPS
20- - pip install $PIP_DEPS
2132 - python setup.py install
2233
23- before_install :
24- - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
25- - chmod +x miniconda.sh
26- - ./miniconda.sh -b
27- - export PATH=/home/travis/miniconda3/bin:$PATH
28- # miniconda is not always up-to-date with conda.
29- - conda update --yes conda
30-
3134script :
32- - nosetests --with-doctest gatspy
35+ - mkdir -p $TEST_DIR
36+ - cd $TEST_DIR && nosetests -v --with-doctest --with-coverage --cover-package=gatspy gatspy
Original file line number Diff line number Diff line change 11include *.md
22include *.py
33recursive-include gatspy *.py
4+ recursive-include doc *
5+ recursive-include examples *.ipynb
46include LICENSE
5- include Makefile
7+ include Makefile
You can’t perform that action at this time.
0 commit comments