Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Playing around with 32 bits tests #1392

Closed
wants to merge 10 commits into from
22 changes: 18 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,14 @@ env:
- MAIN_CMD="python ./testsuite/MDAnalysisTests/mda_nosetests ${NOSE_TEST_LIST1} ${NOSE_FLAGS}; python ./testsuite/MDAnalysisTests/mda_nosetests ${NOSE_TEST_LIST2} ${NOSE_FLAGS}"
- SETUP_CMD=""
- BUILD_CMD="pip install -v package/ && pip install testsuite/"
- CONDA_DEPENDENCIES="mmtf-python nose=1.3.7 mock six biopython networkx cython joblib nose-timer"
- CONDA_ALL_DEPENDENCIES="mmtf-python nose=1.3.7 mock six biopython networkx cython joblib nose-timer matplotlib netcdf4 scikit-learn scipy seaborn coveralls clustalw=2.1"
- CONDA_DEPENDENCIES="nose=1.3.7 mock six biopython networkx cython joblib nose-timer"
- CONDA_ALL_DEPENDENCIES="nose=1.3.7 mock six biopython networkx cython joblib nose-timer matplotlib netcdf4 scikit-learn scipy seaborn coveralls clustalw=2.1"
# Install griddataformats from PIP so that scipy is only installed in the full build (#1147)
- PIP_DEPENDENCIES='griddataformats'
- PIP_DEPENDENCIES='griddataformats mmtf-python'
- CONDA_CHANNELS='biobuilds conda-forge'
- CONDA_CHANNEL_PRIORITY=True
- NUMPY_VERSION=stable
- ARCHITECTURE_32BIT=False



Expand Down Expand Up @@ -86,8 +87,20 @@ matrix:
CONDA_DEPENDENCIES=${CONDA_ALL_DEPENDENCIES}
EVENT_TYPE='cron'

- os : linux
env: NAME='32bits'
PYTHON_VERSION=2.7
ARCHITECTURE_32BIT=True
CFLAGS='-m32'
addons:
apt:
packages:
- libstdc++6:i386
- gcc-multilib

install:
- git clone git://github.com/astropy/ci-helpers.git
#- git clone git://github.com/astropy/ci-helpers.git
- git clone -b 32bits git://github.com/jbarnoud/ci-helpers.git
- source ci-helpers/travis/setup_conda.sh
# additional external tools (Issue #898) -- HOLE
- |
Expand All @@ -99,6 +112,7 @@ install:
- eval $BUILD_CMD

script:
- echo ${LD_LIBRARY_PATH}
- cd ${TRAVIS_BUILD_DIR}
- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then ulimit -S -n 2048; fi
- echo $MAIN_CMD $SETUP_CMD
Expand Down