Changeset 752f12d in sasview


Ignore:
Timestamp:
Sep 15, 2016 8:33:57 AM (8 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
35f4d43
Parents:
d249ccd
git-author:
Mathieu Doucet <matd10@…> (09/02/16 13:35:11)
git-committer:
Piotr Rozyczko <rozyczko@…> (09/15/16 08:33:57)
Message:

Update travis_build.sh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build_tools/travis_build.sh

    r516ca41 r752f12d  
     1# Simplified build for Travic CI 
     2# No documentation is built 
    13export PATH=$PATH:/usr/local/bin/ 
    24 
    35PYTHON=${PYTHON:-`which python`} 
    46EASY_INSTALL=${EASY_INSTALL:-`which easy_install`} 
    5 PYLINT=${PYLINT:-`which pylint`} 
    67 
    78export PYTHONPATH=$PYTHONPATH:$WORKSPACE/sasview/utils 
    89export PYTHONPATH=$PYTHONPATH:$WORKSPACE/sasview/sasview-install 
    910 
    10  
    11 cd $WORKSPACE 
    12  
    13  
    1411# SET SASVIEW GITHASH 
    15 cd $WORKSPACE 
    16 cd sasview/sasview 
     12cd $WORKSPACE/sasview/sasview 
    1713githash=$( git rev-parse HEAD ) 
    1814sed -i.bak s/GIT_COMMIT/$githash/g __init__.py 
    1915 
    20  
    21 # SASMODLES 
    22 cd $WORKSPACE 
    23 cd sasmodels 
    24  
     16# SASMODELS 
     17cd $WORKSPACE/sasmodels 
    2518rm -rf build 
    2619rm -rf dist 
    27  
    2820$PYTHON setup.py clean 
    2921$PYTHON setup.py build 
    30  
    31  
    32 # SASMODELS - BUILD DOCS 
    33 #cd  doc 
    34 #make html 
    35  
    36 cd $WORKSPACE 
    37 cd sasmodels 
    3822$PYTHON setup.py bdist_egg 
    3923 
    40  
    4124# SASVIEW 
    42 cd $WORKSPACE 
    43 cd sasview 
     25cd $WORKSPACE/sasview 
    4426rm -rf sasview-install 
    4527mkdir  sasview-install 
     
    4931rm -rf build 
    5032 
    51  
    5233# INSTALL SASMODELS 
    53 cd $WORKSPACE 
    54 cd sasmodels 
    55 cd dist 
     34cd $WORKSPACE/sasmodels/dist 
    5635$EASY_INSTALL -d $WORKSPACE/sasview/utils sasmodels*.egg 
    5736 
    58  
    5937# BUILD SASVIEW 
    60 cd $WORKSPACE 
    61 cd sasview 
     38cd $WORKSPACE/sasview 
    6239$PYTHON setup.py clean 
    6340$PYTHON setup.py build docs bdist_egg 
    6441 
    65  
    6642# INSTALL SASVIEW 
    67 cd $WORKSPACE 
    68 cd sasview 
    69 cd dist 
     43cd $WORKSPACE/sasview/dist 
    7044$EASY_INSTALL -d $WORKSPACE/sasview/sasview-install sasview*.egg 
    7145 
    72  
    7346# TEST 
    74 cd $WORKSPACE 
    75 cd sasview 
    76 cd test 
     47cd $WORKSPACE/sasview/test 
    7748$PYTHON utest_sasview.py 
Note: See TracChangeset for help on using the changeset viewer.