Changeset 68e6ac8 in sasview for build_tools/travis_build.sh
- Timestamp:
- Sep 2, 2016 1:35:11 PM (8 years ago)
- 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)
- 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 1 3 export PATH=$PATH:/usr/local/bin/ 2 4 3 5 PYTHON=${PYTHON:-`which python`} 4 6 EASY_INSTALL=${EASY_INSTALL:-`which easy_install`} 5 PYLINT=${PYLINT:-`which pylint`}6 7 7 8 export PYTHONPATH=$PYTHONPATH:$WORKSPACE/sasview/utils 8 9 export PYTHONPATH=$PYTHONPATH:$WORKSPACE/sasview/sasview-install 9 10 10 11 cd $WORKSPACE12 13 14 11 # SET SASVIEW GITHASH 15 cd $WORKSPACE 16 cd sasview/sasview 12 cd $WORKSPACE/sasview/sasview 17 13 githash=$( git rev-parse HEAD ) 18 14 sed -i.bak s/GIT_COMMIT/$githash/g __init__.py 19 15 20 21 # SASMODLES 22 cd $WORKSPACE 23 cd sasmodels 24 16 # SASMODELS 17 cd $WORKSPACE/sasmodels 25 18 rm -rf build 26 19 rm -rf dist 27 28 20 $PYTHON setup.py clean 29 21 $PYTHON setup.py build 30 31 32 # SASMODELS - BUILD DOCS33 #cd doc34 #make html35 36 cd $WORKSPACE37 cd sasmodels38 22 $PYTHON setup.py bdist_egg 39 23 40 41 24 # SASVIEW 42 cd $WORKSPACE 43 cd sasview 25 cd $WORKSPACE/sasview 44 26 rm -rf sasview-install 45 27 mkdir sasview-install … … 49 31 rm -rf build 50 32 51 52 33 # INSTALL SASMODELS 53 cd $WORKSPACE 54 cd sasmodels 55 cd dist 34 cd $WORKSPACE/sasmodels/dist 56 35 $EASY_INSTALL -d $WORKSPACE/sasview/utils sasmodels*.egg 57 36 58 59 37 # BUILD SASVIEW 60 cd $WORKSPACE 61 cd sasview 38 cd $WORKSPACE/sasview 62 39 $PYTHON setup.py clean 63 40 $PYTHON setup.py build docs bdist_egg 64 41 65 66 42 # INSTALL SASVIEW 67 cd $WORKSPACE 68 cd sasview 69 cd dist 43 cd $WORKSPACE/sasview/dist 70 44 $EASY_INSTALL -d $WORKSPACE/sasview/sasview-install sasview*.egg 71 45 72 73 46 # TEST 74 cd $WORKSPACE 75 cd sasview 76 cd test 47 cd $WORKSPACE/sasview/test 77 48 $PYTHON utest_sasview.py
Note: See TracChangeset
for help on using the changeset viewer.