language: c

os:
  - linux
  - osx

env:
    global:
        - SETUP_XVFB=True
        - CONDA_CHANNELS='conda-forge'
        - HDF5_VERSION=1.8
        - HYPERION_HDF5_VERSION=18
        - CONDA_DEPENDENCIES='numpy astropy h5py matplotlib yt mpich hdf5 gcc'
        - SETUP_CMD='test'
        - MPLBACKEND='Agg'
    matrix:
        - PYTHON_VERSION=2.7
        - PYTHON_VERSION=3.5
        - PYTHON_VERSION=3.6

install:
    - git clone git://github.com/astropy/ci-helpers.git
    - source ci-helpers/travis/setup_conda.sh

script:
   - ./configure
   - make serial
   - sudo make install
   - python setup.py install  # to get the hyperion script installed
   - python setup.py $SETUP_CMD

language: c

os:
  - linux
  - osx

env:
    global:
        - SETUP_XVFB=True
        - CONDA_CHANNELS='conda-forge'
        - HDF5_VERSION=1.8
        - HYPERION_HDF5_VERSION=18
        - CONDA_DEPENDENCIES='numpy astropy h5py matplotlib yt mpich hdf5 gcc_linux-64'
        - SETUP_CMD='test'
        - MPLBACKEND='Agg'
    matrix:
        - PYTHON_VERSION=2.7
        - PYTHON_VERSION=3.5
        - PYTHON_VERSION=3.6

install:
    - git clone git://github.com/astropy/ci-helpers.git
    - source ci-helpers/travis/setup_conda.sh

script:
   - ./configure
   - make serial
   - sudo make install
   - python setup.py install  # to get the hyperion script installed
   - python setup.py $SETUP_CMD

Change which compiler we use on Travis
Change which compiler we use on Travis