#!/bin/bash

export TRAVIS_OS_NAME="linux"
export CONDA_DEPENDENCIES_FLAGS="--quiet"
export CONDA_DEPENDENCIES="qtpy pyqt pytest pytest-cov six"
export PIP_DEPENDENCIES="codecov pytest-qt"

# Download and install miniconda and conda/pip dependencies
# with astropy helpers
echo -e "PYTHON = $PYTHON_VERSION \n============"
git clone git://github.com/astropy/ci-helpers.git > /dev/null
source ci-helpers/travis/setup_conda_$TRAVIS_OS_NAME.sh
export PYTHONPATH=.
export PATH="$HOME/miniconda/bin:$PATH"
source activate test

# Install the package in develop mode
python setup.py develop

#!/bin/bash

export TRAVIS_OS_NAME="linux"
export CONDA_DEPENDENCIES_FLAGS="--quiet"
export CONDA_DEPENDENCIES="qtpy pyqt pytest pytest-cov six"
export PIP_DEPENDENCIES="codecov"

# Download and install miniconda and conda/pip dependencies
# with astropy helpers
echo -e "PYTHON = $PYTHON_VERSION \n============"
git clone git://github.com/astropy/ci-helpers.git > /dev/null
source ci-helpers/travis/setup_conda_$TRAVIS_OS_NAME.sh
export PYTHONPATH=.
export PATH="$HOME/miniconda/bin:$PATH"
source activate test

# Install the package in develop mode
python setup.py develop

--- 
+++ 
@@ -3,7 +3,7 @@
 export TRAVIS_OS_NAME="linux"
 export CONDA_DEPENDENCIES_FLAGS="--quiet"
 export CONDA_DEPENDENCIES="qtpy pyqt pytest pytest-cov six"
-export PIP_DEPENDENCIES="codecov"
+export PIP_DEPENDENCIES="codecov pytest-qt"
 
 # Download and install miniconda and conda/pip dependencies
 # with astropy helpers
Add pytest-qt to Circle-CI pip dependencies
