File tree 5 files changed +29
-70
lines changed
5 files changed +29
-70
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,7 @@ matrix:
18
18
- python : " 3.5"
19
19
env : TEST_MODULES=true USE_PYQT=pyqt4
20
20
os : linux
21
- # This slot test runs our tests only with pip
22
- # packages
21
+ # This slot runs our tests only with pip packages
23
22
- python : " 3.5"
24
23
env : TEST_MODULES=false USE_PYQT=pyqt5
25
24
os : linux
@@ -42,3 +41,6 @@ script:
42
41
./continuous_integration/travis/test-qt4.sh
43
42
fi
44
43
fi
44
+
45
+ after_success :
46
+ - export PATH="$HOME/miniconda/bin:$PATH" && source activate test && coveralls
Original file line number Diff line number Diff line change 3
3
machine :
4
4
environment :
5
5
# Python versions to tests (Maximum of 4 different versions)
6
- # The last container is reserved to test with PyQt5 wheels
7
- # because they are more up to date than conda páckages.
8
- PY_VERSIONS : " 2.7 3.5 3.6 3.5"
9
- # For Coveralls
10
- COVERALLS_REPO_TOKEN : yt7YToGxRtnAcM6kSULoiCmOPetq10TaU
6
+ PY_VERSIONS : " 3.5 3.6"
11
7
# Environment variable used by astropy helpers
12
8
TRAVIS_OS_NAME : " linux"
13
9
@@ -17,7 +13,7 @@ dependencies:
17
13
# See https://github.com/TestFX/TestFX/issues/158#issuecomment-62421691
18
14
- sudo apt-get install matchbox-window-manager
19
15
override :
20
- - ./continuous_integration/install.sh
16
+ - ./continuous_integration/circle/ install.sh
21
17
- DISPLAY=:99 /usr/bin/matchbox-window-manager :
22
18
background : true
23
19
- sleep 5
28
24
# - export PATH="$HOME/miniconda/bin:$PATH" && source activate test && ciocheck spyder: # note the colon
29
25
# parallel: true
30
26
# PyQt5
31
- - ./continuous_integration/circle/test-qt5.sh || ./continuous_integration/circle/test-qt5.sh || ./continuous_integration/circle/test-qt5.sh : # note the colon
27
+ - ./continuous_integration/circle/test-qt5.sh || ./continuous_integration/circle/test-qt5.sh : # note the colon
32
28
parallel : true
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ export CONDA_DEPENDENCIES_FLAGS=" --quiet"
4
+ export CONDA_DEPENDENCIES=" rope pyflakes sphinx pygments pylint psutil nbconvert \
5
+ qtawesome pickleshare qtpy pyzmq chardet mock nomkl pandas \
6
+ pytest pytest-cov numpydoc scipy cython pillow"
7
+ export PIP_DEPENDENCIES=" coveralls pytest-qt pytest-xvfb flaky jedi pycodestyle"
8
+
9
+ # Download and install miniconda and conda/pip dependencies
10
+ # with astropy helpers
11
+ export PY_VERSIONS=($PY_VERSIONS )
12
+ export TRAVIS_PYTHON_VERSION=${PY_VERSIONS[$CIRCLE_NODE_INDEX]}
13
+
14
+ echo -e " PYTHON = $TRAVIS_PYTHON_VERSION \n============"
15
+ git clone git://github.com/astropy/ci-helpers.git > /dev/null
16
+ source ci-helpers/travis/setup_conda_$TRAVIS_OS_NAME .sh
17
+ export PATH=" $HOME /miniconda/bin:$PATH "
18
+ source activate test
19
+
20
+ # Install ciocheck (not working right now)
21
+ # conda install -q ciocheck -c spyder-ide --no-update-deps
Original file line number Diff line number Diff line change 3
3
export PATH=" $HOME /miniconda/bin:$PATH "
4
4
source activate test
5
5
6
- # We use container 3 to test with pip
7
- if [ " $CIRCLE_NODE_INDEX " = " 0" ]; then
8
- # Skip Python 2.7 for now because it's failing frequently
9
- # and randomly at different places.
10
- exit 0
11
- elif [ " $CIRCLE_NODE_INDEX " != " 3" ]; then
12
- conda install -q qt=5.* pyqt=5.* qtconsole matplotlib
13
- else
14
- pip install -q pyqt5
15
- fi
6
+ conda install -q qt=5.* pyqt=5.* qtconsole matplotlib
16
7
17
8
python runtests.py
18
-
19
- # Force quitting if exit status of runtests.py was not 0
20
- if [ $? -ne 0 ]; then
21
- exit 1
22
- fi
23
-
24
- # Run coveralls also here because there are errors if run
25
- # as an independent command
26
- coveralls
27
-
28
- # Don't stop if coveralls fails for whatever reason
29
- if [ $? -ne 0 ]; then
30
- exit 0
31
- fi
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments