Changes in / [dd11014:3a33740] in sasview


Ignore:
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • .travis.yml

    red8f27e7 rf28f33d5  
    22 
    33language: python 
    4 python: 
    5   - "2.7" 
     4 
     5# can eventually include OSX here. 
     6matrix: 
     7    include: 
     8        - os: linux 
     9          env: PY=2.7 
     10 
    611# whitelist 
    712branches: 
    813  only: 
    914    - master 
    10 # command to install dependencies 
    11 virtualenv: 
    12   system_site_packages: true 
     15 
     16addons: 
     17    apt: 
     18        packages: 
     19            - opencl-headers 
     20            - fglrx 
     21            - libblas-dev 
     22            - libatlas-dev 
     23            - libatlas-base-dev 
     24            - liblapack-dev 
     25            - gfortran 
     26            - libhdf5-serial-dev 
     27 
    1328before_install: 
    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' 
     29    - echo $TRAVIS_OS_NAME 
     30    - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 
     31          wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; 
     32      fi 
     33    - bash miniconda.sh -b -p $HOME/miniconda 
     34    - export PATH="$HOME/miniconda/bin:$PATH" 
     35    - hash -r 
     36    - conda update --yes conda 
     37 
     38    # Useful for debugging any issues with conda 
     39    - conda info -a 
     40 
     41    # could install other dependencies, but they're locked to specific 
     42    # versions in build/requirements.txt 
     43    - conda install --yes python=$PY numpy scipy cython pylint wxpython 
     44    - sudo apt-get update; sudo apt-get install python-pyopencl 
    1545 
    1646install: 
    1747  - pip install -r build_tools/requirements.txt 
     48  - pip install matplotlib 
    1849 
    1950before_script: 
     
    2354   
    2455script: 
    25   - export WORKSPACE=/home/travis/build/SasView/ 
    26   - cd $WORKSPACE 
     56  - cd .. 
     57  # this should be the directory above the sasview directory, where we want to 
     58  # clone the sasmodels 
     59  - export WORKSPACE=$(pwd) 
    2760  - git clone --depth=50 --branch=master https://github.com/SasView/sasmodels.git sasmodels 
    28   - export PYTHONPATH=$WORKSPACE/sasview-install:$WORKSPACE/utils:$PYTHONPATH 
    29   - cd $WORKSPACE 
     61 
     62  # required for documentation 
     63  - git clone --depth=50 --branch=master https://github.com/bumps/bumps.git 
     64 
    3065  - ls -ltr 
    3166  - if [ ! -d "utils" ]; then mkdir utils; fi 
    3267  - /bin/sh -xe sasview/build_tools/travis_build.sh 
    33 #  - /bin/sh -xe sasview/build_tools/jenkins_linux_test.sh 
    3468  - export LC_ALL=en_US.UTF-8 
    3569  - export LANG=en_US.UTF-8 
  • build_tools/travis_build.sh

    r68e6ac8 r858a69d  
    1 # Simplified build for Travic CI 
     1# Simplified build for Travis 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 
     40# $PYTHON setup.py build docs bdist_egg 
     41$PYTHON setup.py bdist_egg 
    4142 
    4243# INSTALL SASVIEW 
Note: See TracChangeset for help on using the changeset viewer.