@@ -38,16 +38,16 @@ if [ -n "$LOCALE_OVERRIDE" ]; then
38
38
# make sure the locale is available
39
39
# probably useless, since you would need to relogin
40
40
time sudo locale-gen " $LOCALE_OVERRIDE "
41
- fi
42
41
43
- # Need to enable for locale testing. The location of the locale file(s) is
44
- # distro specific. For example, on Arch Linux all of the locales are in a
45
- # commented file--/etc/locale.gen--that must be commented in to be used
46
- # whereas Ubuntu looks in /var/lib/locales/supported.d/* and generates locales
47
- # based on what's in the files in that folder
48
- time echo ' it_CH.UTF-8 UTF-8' | sudo tee -a /var/lib/locales/supported.d/it
49
- time sudo locale-gen
42
+ # Need to enable for locale testing. The location of the locale file(s) is
43
+ # distro specific. For example, on Arch Linux all of the locales are in a
44
+ # commented file--/etc/locale.gen--that must be commented in to be used
45
+ # whereas Ubuntu looks in /var/lib/locales/supported.d/* and generates locales
46
+ # based on what's in the files in that folder
47
+ time echo ' it_CH.UTF-8 UTF-8' | sudo tee -a /var/lib/locales/supported.d/it
48
+ time sudo locale-gen
50
49
50
+ fi
51
51
52
52
# install gui for clipboard testing
53
53
if [ -n " $CLIPBOARD_GUI " ]; then
67
67
python_major_version=" ${TRAVIS_PYTHON_VERSION: 0: 1} "
68
68
[ " $python_major_version " == " 2" ] && python_major_version=" "
69
69
70
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh || exit 1
70
+ # install miniconda
71
+ if [ " ${TRAVIS_OS_NAME} " == " osx" ]; then
72
+ wget http://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh -O miniconda.sh || exit 1
73
+ else
74
+ wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh || exit 1
75
+ fi
71
76
bash miniconda.sh -b -p $HOME /miniconda || exit 1
72
77
73
78
conda config --set always_yes yes --set changeps1 no || exit 1
@@ -94,7 +99,7 @@ time conda install -n pandas --file=${REQ} || exit 1
94
99
source activate pandas
95
100
96
101
# set the compiler cache to work
97
- if [ " $IRON_TOKEN " ]; then
102
+ if [[ " $IRON_TOKEN " && " ${TRAVIS_OS_NAME} " == " linux " ] ]; then
98
103
export PATH=/usr/lib/ccache:/usr/lib64/ccache:$PATH
99
104
gcc=$( which gcc)
100
105
echo " gcc: $gcc "
@@ -113,24 +118,31 @@ if [ "$BUILD_TEST" ]; then
113
118
else
114
119
115
120
# build but don't install
121
+ echo " build em"
116
122
time python setup.py build_ext --inplace || exit 1
117
123
118
124
# we may have run installations
125
+ echo " conda installs"
119
126
REQ=" ci/requirements-${TRAVIS_PYTHON_VERSION}${JOB_TAG} .run"
120
127
time conda install -n pandas --file=${REQ} || exit 1
121
128
122
129
# we may have additional pip installs
130
+ echo " pip installs"
123
131
REQ=" ci/requirements-${TRAVIS_PYTHON_VERSION}${JOB_TAG} .pip"
124
132
if [ -e ${REQ} ]; then
125
133
pip install -r $REQ
126
134
fi
127
135
128
136
# remove any installed pandas package
129
- conda remove pandas
137
+ # w/o removing anything else
138
+ echo " removing installed pandas"
139
+ conda remove pandas --force
130
140
131
141
# install our pandas
142
+ echo " running setup.py develop"
132
143
python setup.py develop || exit 1
133
144
134
145
fi
135
146
136
- true
147
+ echo " done"
148
+ exit 0
0 commit comments