@@ -22,15 +22,13 @@ addons:
2222env :
2323 global :
2424 # Set defaults to avoid repeating in most cases
25- - PYTHON_VERSION=3.6
25+ - PYTHON_VERSION=3.7
2626 - NUMPY_VERSION=stable
2727 - ASTROPY_VERSION=stable
2828 - MAIN_CMD='python setup.py'
29- - CONDA_DEPENDENCIES='pytz'
29+ - CONDA_DEPENDENCIES='pytz qt pyqt six '
3030 - PIP_DEPENDENCIES='pytest-astropy'
3131 - SETUP_CMD='test -V'
32- - CONDA_CHANNELS='astropy'
33-
3432
3533stages :
3634 # Do the initial tests and don't proceed if they fail
@@ -40,7 +38,6 @@ stages:
4038 - name : Cron and master-only tests
4139 if : type IN (push, cron)
4240
43-
4441matrix :
4542
4643 # Don't wait for allowed failures
@@ -49,52 +46,51 @@ matrix:
4946 include :
5047
5148 - stage : Initial tests
52- env : PYTHON_VERSION=3.5 SETUP_CMD='egg_info'
49+ env : PYTHON_VERSION=3.6 SETUP_CMD='egg_info'
5350 - stage : Initial tests
5451 env : SETUP_CMD='egg_info'
5552
5653 # Run one of the docs build during the initial tests
5754 - os : linux
5855 stage : Initial tests
5956 env : SETUP_CMD='build_docs -w'
60- CONDA_DEPENDENCIES='pytz matplotlib astroquery '
61- PIP_DEPENDENCIES='pytest-mpl pytest-astropy'
57+ CONDA_DEPENDENCIES='pytz matplotlib six '
58+ PIP_DEPENDENCIES='pytest-mpl pytest-astropy astroquery '
6259
6360 - os : linux
6461 env : PYTHON_VERSION=3.6
6562
63+ # This replaces Appveyor
64+ - os : windows
65+ env : CONDA_DEPENDENCIES='pytz matplotlib six'
66+ PIP_DEPENDENCIES='pyephem pytest-mpl pytest-astropy'
67+
6668 - os : linux
6769 stage : Initial tests
6870 env : SETUP_CMD='test --remote-data -V'
69- CONDA_DEPENDENCIES='pytz matplotlib'
71+ CONDA_DEPENDENCIES='pytz matplotlib six '
7072 PIP_DEPENDENCIES='pytest-mpl pytest-astropy'
7173
72- # Try pre-release version of Numpy. This only runs if a pre-release
73- # is available on pypi.
74- - os : linux
75- stage : Cron and master-only tests
76- env : NUMPY_VERSION=prerelease
77-
7874 # Try developer version of Astropy
7975 - os : linux
80- env : PYTHON_VERSION=3.6 ASTROPY_VERSION=dev
76+ env : ASTROPY_VERSION=dev
8177
8278 # Do a PEP8 test with pycodestyle
8379 - os : linux
84- env : MAIN_CMD='pycodestyle astroplan --count --max-line-length=100' SETUP_CMD=''
80+ env : MAIN_CMD='flake8 astroplan --count --max-line-length=100' SETUP_CMD=''
8581
8682 allow_failures :
8783 # Allow them to fail now until the IERSs issues are fixed
8884 - env : SETUP_CMD='test --remote-data -V'
89- CONDA_DEPENDENCIES='pytz matplotlib'
85+ CONDA_DEPENDENCIES='pytz matplotlib six '
9086 PIP_DEPENDENCIES='pytest-mpl pytest-astropy'
9187
9288install :
9389 - git clone git://github.com/astropy/ci-helpers.git
9490 - source ci-helpers/travis/setup_conda.sh
9591
9692 # This is needed to make matplotlib plot testing work
97- - if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
93+ - if [[ $SETUP_CMD == test* && $ TRAVIS_OS_NAME == 'linux' ]]; then
9894 export DISPLAY=:99.0;
9995 sh -e /etc/init.d/xvfb start;
10096 export QT_API=pyqt;
0 commit comments