File tree 3 files changed +14
-0
lines changed
3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ matrix:
15
15
include :
16
16
- python : 2.7
17
17
env : VBENCH=true
18
+ - python : 2.7
19
+ env : LOCALE_OVERRIDE="zh_CN.GB18030" # simplified chinese
18
20
- python : 2.7
19
21
env : FULL_DEPS=true
20
22
- python : 3.2
Original file line number Diff line number Diff line change @@ -67,3 +67,8 @@ if [ x"$FULL_DEPS" == x"true" ]; then
67
67
# pick recent 0.5dev dec/2012
68
68
pip install git+git://github.com/statsmodels/statsmodels@c9062e43b8a5f7385537ca95#egg=statsmodels
69
69
fi ;
70
+
71
+ # make sure the desired locale is generated
72
+ if [ x" $LOCALE_OVERRIDE " != x" " ]; then
73
+ sudo locale-gen " $LOCALE_OVERRIDE "
74
+ fi
Original file line number Diff line number Diff line change 2
2
3
3
echo " inside $0 "
4
4
5
+ if [ x" $LOCALE_OVERRIDE " != x" " ]; then
6
+ export LC_ALL=" $LOCALE_OVERRIDE " ;
7
+ echo " Setting LC_ALL to $LOCALE_OVERRIDE "
8
+ (cd /; python -c ' import pandas; print("pandas detected console encoding: %s" % pandas.get_option("display.encoding"))' )
9
+ fi
10
+
5
11
if [ x" $VBENCH " != x" true" ]; then
6
12
nosetests --exe -w /tmp -A " not slow" pandas;
7
13
exit
8
14
fi
15
+
9
16
if [ x" $VBENCH " == x" true" ]; then
10
17
python vb_suite/perf_HEAD.py;
11
18
exit
You can’t perform that action at this time.
0 commit comments