Changes in / [8390cf6:cb9feea8] in sasview


Ignore:
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • .travis.yml

    r4636f57 red8f27e7  
    22 
    33language: python 
    4  
    5 matrix: 
    6   include: 
    7     - os: linux 
    8       env: 
    9         - PY=2.7 
    10         - NUMPYSPEC=numpy 
    11     - os: osx 
    12       language: generic 
    13       env: 
    14         - PY=2.7 
    15         - NUMPYSPEC=numpy 
    16  
     4python: 
     5  - "2.7" 
    176# whitelist 
    187branches: 
    198  only: 
    209    - master 
    21  
    22 addons: 
    23   apt: 
    24     packages: 
    25       - opencl-headers 
    26       - fglrx 
    27       - libblas-dev 
    28       - libatlas-dev 
    29       - libatlas-base-dev 
    30       - liblapack-dev 
    31       - gfortran 
    32       - libhdf5-serial-dev 
    33  
     10# command to install dependencies 
     11virtualenv: 
     12  system_site_packages: true 
    3413before_install: 
    35   - echo $TRAVIS_OS_NAME 
    36   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 
    37         wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; 
    38         sudo apt-get update; sudo apt-get install python-pyopencl; 
    39     elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then 
    40         wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh; 
    41     fi 
    42  
    43   - bash miniconda.sh -b -p $HOME/miniconda 
    44   - export PATH="$HOME/miniconda/bin:$PATH" 
    45   - hash -r 
    46   - conda update --yes conda 
    47  
    48   # Useful for debugging any issues with conda 
    49   - conda info -a 
    50  
    51   # could install other dependencies, but they're locked to specific 
    52   # versions in build/requirements.txt 
    53   - conda install --yes python=$PY $NUMPYSPEC scipy cython pylint wxpython 
     14  - 'if [ $TRAVIS_PYTHON_VERSION == "2.7" ]; then sudo apt-get update;sudo apt-get install python-matplotlib libhdf5-serial-dev python-h5py fglrx opencl-headers python-pyopencl gfortran libblas-dev liblapack-dev libatlas-dev; fi' 
    5415 
    5516install: 
    5617  - pip install -r build_tools/requirements.txt 
    57   - pip install matplotlib 
    5818 
    59 #before_script: 
    60 #  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 
    61 #        "export DISPLAY=:99.0"; "sh -e /etc/init.d/xvfb start"; sleep 3; # give xvfb some time to start 
    62 #    fi 
    63  
     19before_script: 
     20  - "export DISPLAY=:99.0" 
     21  - "sh -e /etc/init.d/xvfb start" 
     22  - sleep 3 # give xvfb some time to start 
     23   
    6424script: 
    65   - cd .. 
    66   # this should be the directory above the sasview directory, where we want to 
    67   # clone the sasmodels 
    68   - export WORKSPACE=$(pwd) 
     25  - export WORKSPACE=/home/travis/build/SasView/ 
     26  - cd $WORKSPACE 
    6927  - git clone --depth=50 --branch=master https://github.com/SasView/sasmodels.git sasmodels 
    70  
    71   # required for documentation 
    72   - git clone --depth=50 --branch=master https://github.com/bumps/bumps.git 
    73  
     28  - export PYTHONPATH=$WORKSPACE/sasview-install:$WORKSPACE/utils:$PYTHONPATH 
     29  - cd $WORKSPACE 
    7430  - ls -ltr 
    7531  - if [ ! -d "utils" ]; then mkdir utils; fi 
    7632  - /bin/sh -xe sasview/build_tools/travis_build.sh 
     33#  - /bin/sh -xe sasview/build_tools/jenkins_linux_test.sh 
    7734  - export LC_ALL=en_US.UTF-8 
    7835  - export LANG=en_US.UTF-8 
  • build_tools/travis_build.sh

    r8374dc0 r68e6ac8  
    1 # Simplified build for Travis CI 
     1# Simplified build for Travic CI 
    22# No documentation is built 
    33export PATH=$PATH:/usr/local/bin/ 
     
    3838cd $WORKSPACE/sasview 
    3939$PYTHON setup.py clean 
    40 # $PYTHON setup.py build docs bdist_egg 
    41 $PYTHON setup.py bdist_egg 
     40$PYTHON setup.py build docs bdist_egg 
    4241 
    4342# INSTALL SASVIEW 
Note: See TracChangeset for help on using the changeset viewer.