@@ -38,16 +38,16 @@ if [ -n "$LOCALE_OVERRIDE" ]; then
3838 # make sure the locale is available
3939 # probably useless, since you would need to relogin
4040 time sudo locale-gen " $LOCALE_OVERRIDE "
41- fi
4241
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
5049
50+ fi
5151
5252# install gui for clipboard testing
5353if [ -n " $CLIPBOARD_GUI " ]; then
6767python_major_version=" ${TRAVIS_PYTHON_VERSION: 0: 1} "
6868[ " $python_major_version " == " 2" ] && python_major_version=" "
6969
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
7176bash miniconda.sh -b -p $HOME /miniconda || exit 1
7277
7378conda config --set always_yes yes --set changeps1 no || exit 1
@@ -94,7 +99,7 @@ time conda install -n pandas --file=${REQ} || exit 1
9499source activate pandas
95100
96101# set the compiler cache to work
97- if [ " $IRON_TOKEN " ]; then
102+ if [[ " $IRON_TOKEN " && " ${TRAVIS_OS_NAME} " == " linux " ] ]; then
98103 export PATH=/usr/lib/ccache:/usr/lib64/ccache:$PATH
99104 gcc=$( which gcc)
100105 echo " gcc: $gcc "
@@ -113,24 +118,31 @@ if [ "$BUILD_TEST" ]; then
113118else
114119
115120 # build but don't install
121+ echo " build em"
116122 time python setup.py build_ext --inplace || exit 1
117123
118124 # we may have run installations
125+ echo " conda installs"
119126 REQ=" ci/requirements-${TRAVIS_PYTHON_VERSION}${JOB_TAG} .run"
120127 time conda install -n pandas --file=${REQ} || exit 1
121128
122129 # we may have additional pip installs
130+ echo " pip installs"
123131 REQ=" ci/requirements-${TRAVIS_PYTHON_VERSION}${JOB_TAG} .pip"
124132 if [ -e ${REQ} ]; then
125133 pip install -r $REQ
126134 fi
127135
128136 # 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
130140
131141 # install our pandas
142+ echo " running setup.py develop"
132143 python setup.py develop || exit 1
133144
134145fi
135146
136- true
147+ echo " done"
148+ exit 0
0 commit comments