Changeset 68e6ac8 in sasview for build_tools


Ignore:
Timestamp:
Sep 2, 2016 1:35:11 PM (8 years ago)
Author:
GitHub <noreply@…>
Branches:
master, 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, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
f9b0c81
Parents:
58918de
git-author:
Mathieu Doucet <matd10@…> (09/02/16 13:35:11)
git-committer:
GitHub <noreply@…> (09/02/16 13:35:11)
Message:

Update travis_build.sh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build_tools/travis_build.sh

    r8ab41a2 r68e6ac8  
     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.