Skip to content

Commit

Permalink
Merge 42632d7 into a5139a9
Browse files Browse the repository at this point in the history
  • Loading branch information
bsipocz committed Sep 19, 2019
2 parents a5139a9 + 42632d7 commit 6efa36a
Showing 1 changed file with 21 additions and 25 deletions.
46 changes: 21 additions & 25 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,13 @@ language: c
os:
- linux

# Setting sudo to false opts in to Travis-CI container-based builds.
sudo: false
stage: Comprehensive tests

# The apt packages below are needed for sphinx builds. A full list of packages
# that can be included can be found here:
#
# https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise

addons:
apt:
packages:
- graphviz
- texlive-latex-extra
- dvipng

env:
global:
Expand All @@ -35,24 +28,33 @@ env:
- PIP_DEPENDENCIES='gwcs scipy matplotlib'
- EVENT_TYPE='pull_request push'
- CONDA_DEPENDENCIES='pytest-remotedata'
- CONDA_CHANNELS='astropy-ci-extras'
- GWCS_DEV="git+https://github.com/spacetelescope/gwcs.git#egg=gwcs"
- ASDF_DEV="git+https://github.com/spacetelescope/asdf.git#egg=asdf"

# If there are matplotlib or other GUI tests, uncomment the following
# line to use the X virtual framebuffer.
# - SETUP_XVFB=True

matrix:
# Make sure that egg_info works without dependencies
- PYTHON_VERSION=3.7 SETUP_CMD='egg_info'
stages:
# Do the style check and a single test job, don't proceed if it fails
- name: Initial tests
# Test docs, astropy dev, and without optional dependencies
- name: Comprehensive tests
# These will only run when cron is opted in
- name: Cron tests
if: type = cron

matrix:

# Don't wait for allowed failures
fast_finish: true

include:
# Make sure that egg_info works without dependencies
- stage: Initial tests
env: PYTHON_VERSION=3.7 SETUP_CMD='egg_info'

- stage: Initial tests
os: linux
env: PYTHON_VERSION=3.7

# Try MacOS X
- os: osx
env: SETUP_CMD='test --remote-data=any'
Expand All @@ -76,28 +78,22 @@ matrix:
env: PYTHON_VERSION=3.5 NUMPY_VERSION=1.15
- os: linux
env: NUMPY_VERSION=1.14
- os: linux
env: PYTHON_VERSION=3.7

# Try numpy pre-release
- os: linux
env: NUMPY_VERSION=prerelease
EVENT_TYPE='pull_request push cron'

# Do a PEP8 test with pycodestyle
- os: linux
- stage: Initial tests
os: linux
env: MAIN_CMD='pycodestyle specutils --count'
SETUP_CMD=''

# Try development version of Astropy
- os: linux
env: ASTROPY_VERSION=dev
env: ASTROPY_VERSION=dev EVENT_TYPE='pull_request push cron'
PIP_DEPENDENCIES="$GWCS_DEV $ASDF_DEV scipy matplotlib"

allow_failures:
# Try development version of Astropy
- os: linux
env: ASTROPY_VERSION=dev
env: ASTROPY_VERSION=dev EVENT_TYPE='pull_request push cron'
PIP_DEPENDENCIES="$GWCS_DEV $ASDF_DEV scipy matplotlib"


Expand Down

0 comments on commit 6efa36a

Please sign in to comment.