@@ -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,61 +38,58 @@ 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
4744 fast_finish : true
4845
4946 include :
5047
51- - stage : Initial tests
52- env : PYTHON_VERSION=3.5 SETUP_CMD='egg_info'
5348 - stage : Initial tests
5449 env : SETUP_CMD='egg_info'
5550
5651 # Run one of the docs build during the initial tests
5752 - os : linux
5853 stage : Initial tests
5954 env : SETUP_CMD='build_docs -w'
60- CONDA_DEPENDENCIES='pytz matplotlib astroquery '
61- PIP_DEPENDENCIES='pytest-mpl pytest-astropy'
55+ CONDA_DEPENDENCIES='pytz matplotlib six '
56+ PIP_DEPENDENCIES='pytest-mpl pytest-astropy astroquery '
6257
6358 - os : linux
6459 env : PYTHON_VERSION=3.6
6560
61+ # This replaces Appveyor
62+ - os : windows
63+ env : CONDA_DEPENDENCIES='pytz matplotlib six'
64+ PIP_DEPENDENCIES='pyephem pytest-mpl pytest-astropy'
65+
6666 - os : linux
6767 stage : Initial tests
6868 env : SETUP_CMD='test --remote-data -V'
69- CONDA_DEPENDENCIES='pytz matplotlib'
69+ CONDA_DEPENDENCIES='pytz matplotlib six '
7070 PIP_DEPENDENCIES='pytest-mpl pytest-astropy'
7171
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-
7872 # Try developer version of Astropy
7973 - os : linux
80- env : PYTHON_VERSION=3.6 ASTROPY_VERSION=dev
74+ env : ASTROPY_VERSION=dev
8175
8276 # Do a PEP8 test with pycodestyle
8377 - os : linux
84- env : MAIN_CMD='pycodestyle astroplan --count --max-line-length=100' SETUP_CMD=''
78+ stage : Initial tests
79+ env : MAIN_CMD='flake8 astroplan --count --max-line-length=100' SETUP_CMD=''
8580
8681 allow_failures :
8782 # Allow them to fail now until the IERSs issues are fixed
8883 - env : SETUP_CMD='test --remote-data -V'
89- CONDA_DEPENDENCIES='pytz matplotlib'
84+ CONDA_DEPENDENCIES='pytz matplotlib six '
9085 PIP_DEPENDENCIES='pytest-mpl pytest-astropy'
9186
9287install :
9388 - git clone git://github.com/astropy/ci-helpers.git
9489 - source ci-helpers/travis/setup_conda.sh
9590
9691 # This is needed to make matplotlib plot testing work
97- - if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
92+ - if [[ $SETUP_CMD == test* && $ TRAVIS_OS_NAME == 'linux' ]]; then
9893 export DISPLAY=:99.0;
9994 sh -e /etc/init.d/xvfb start;
10095 export QT_API=pyqt;
0 commit comments