File tree 1 file changed +33
-0
lines changed 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ # https://circleci.com/gh/spyder-ide/qtpy/
2
+
3
+ machine :
4
+ environment :
5
+ # Used by test scripts
6
+ TEST_CI : " True"
7
+ PYTHON_TEST : " $HOME/miniconda/envs/test/bin/python"
8
+ PYTEST : " $HOME/miniconda/envs/test/bin/py.test"
9
+ PATH : " $HOME/miniconda/bin:$PATH" # To avoid prepending this to the commands on circle-ci
10
+ # Python versions to test (Maximum of 4 different versions for now)
11
+ PY_VERSIONS : " 2.7 3.4 3.5"
12
+ # Used by astropy-ci helpers
13
+ TRAVIS_OS_NAME : " linux"
14
+ CONDA_CHANNELS : " spyder-ide qttesting"
15
+ CONDA_DEPENDENCIES : " pyqt pytest pytest-cov qt qtpy"
16
+ PIP_DEPENDENCIES : " coveralls"
17
+
18
+ dependencies :
19
+ override :
20
+ # First convert PY_VERSIONS to an array and then select the python version based on the CIRCLE_NODE_INDEX
21
+ - PY_VERSIONS=($PY_VERSIONS) &&
22
+ TRAVIS_PYTHON_VERSION=${PY_VERSIONS[$CIRCLE_NODE_INDEX]} &&
23
+ echo -e "PYTHON = $TRAVIS_PYTHON_VERSION \n============" &&
24
+ git clone git://github.com/astropy/ci-helpers.git &&
25
+ source ci-helpers/travis/setup_conda_$TRAVIS_OS_NAME.sh &&
26
+ " $PYTHON_TEST" setup.py install;
27
+
28
+ test :
29
+ override :
30
+ - conda info --json : # note the colon
31
+ parallel : true
32
+ - " $PYTEST tests/ " : # note the colon
33
+ parallel : true
You can’t perform that action at this time.
0 commit comments