File tree 2 files changed +15
-0
lines changed
2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ matrix:
10
10
include :
11
11
- python : 3.3
12
12
env : USE_CHROOT=1 ARCH=i386 DIST=saucy
13
+ - python : 3.2
14
+ env : USE_DEBUG=1
13
15
- python : 2.7
14
16
env : NPY_SEPARATE_COMPILATION=0
15
17
- python : 3.3
Original file line number Diff line number Diff line change @@ -19,7 +19,11 @@ setup_base()
19
19
# have been removed from master. (See gh-2765, gh-2768.) Using 'pip
20
20
# install' also has the advantage that it tests that numpy is 'pip
21
21
# install' compatible, see e.g. gh-2766...
22
+ if [ -z " $USE_DEBUG " ]; then
22
23
$PIP install .
24
+ else
25
+ $PYTHON setup.py build_ext --inplace
26
+ fi
23
27
}
24
28
25
29
setup_chroot ()
@@ -75,6 +79,9 @@ setup_bento()
75
79
76
80
run_test ()
77
81
{
82
+ if [ -n " $USE_DEBUG " ]; then
83
+ export PYTHONPATH=$PWD
84
+ fi
78
85
# We change directories to make sure that python won't find the copy
79
86
# of numpy in the source directory.
80
87
mkdir -p empty
@@ -89,6 +96,12 @@ run_test()
89
96
# travis venv tests override python
90
97
PYTHON=${PYTHON:- python}
91
98
PIP=${PIP:- pip}
99
+
100
+ if [ -n " $USE_DEBUG " ]; then
101
+ sudo apt-get install -qq -y --force-yes python3-dbg python3-dev python3-nose
102
+ PYTHON=python3-dbg
103
+ fi
104
+
92
105
export PYTHON
93
106
export PIP
94
107
if [ " $USE_CHROOT " != " 1" ] && [ " $USE_BENTO " != " 1" ]; then
You can’t perform that action at this time.
0 commit comments