ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change
on this file since d7ff531 was
752f12d,
checked in by Piotr Rozyczko <rozyczko@…>, 8 years ago
|
Update travis_build.sh
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[752f12d] | 1 | # Simplified build for Travic CI |
---|
| 2 | # No documentation is built |
---|
[516ca41] | 3 | export PATH=$PATH:/usr/local/bin/ |
---|
| 4 | |
---|
| 5 | PYTHON=${PYTHON:-`which python`} |
---|
| 6 | EASY_INSTALL=${EASY_INSTALL:-`which easy_install`} |
---|
| 7 | |
---|
| 8 | export PYTHONPATH=$PYTHONPATH:$WORKSPACE/sasview/utils |
---|
| 9 | export PYTHONPATH=$PYTHONPATH:$WORKSPACE/sasview/sasview-install |
---|
| 10 | |
---|
| 11 | # SET SASVIEW GITHASH |
---|
[752f12d] | 12 | cd $WORKSPACE/sasview/sasview |
---|
[516ca41] | 13 | githash=$( git rev-parse HEAD ) |
---|
| 14 | sed -i.bak s/GIT_COMMIT/$githash/g __init__.py |
---|
| 15 | |
---|
[752f12d] | 16 | # SASMODELS |
---|
| 17 | cd $WORKSPACE/sasmodels |
---|
[516ca41] | 18 | rm -rf build |
---|
| 19 | rm -rf dist |
---|
| 20 | $PYTHON setup.py clean |
---|
| 21 | $PYTHON setup.py build |
---|
| 22 | $PYTHON setup.py bdist_egg |
---|
| 23 | |
---|
| 24 | # SASVIEW |
---|
[752f12d] | 25 | cd $WORKSPACE/sasview |
---|
[516ca41] | 26 | rm -rf sasview-install |
---|
| 27 | mkdir sasview-install |
---|
| 28 | rm -rf utils |
---|
| 29 | mkdir utils |
---|
| 30 | rm -rf dist |
---|
| 31 | rm -rf build |
---|
| 32 | |
---|
| 33 | # INSTALL SASMODELS |
---|
[752f12d] | 34 | cd $WORKSPACE/sasmodels/dist |
---|
[516ca41] | 35 | $EASY_INSTALL -d $WORKSPACE/sasview/utils sasmodels*.egg |
---|
| 36 | |
---|
| 37 | # BUILD SASVIEW |
---|
[752f12d] | 38 | cd $WORKSPACE/sasview |
---|
[516ca41] | 39 | $PYTHON setup.py clean |
---|
| 40 | $PYTHON setup.py build docs bdist_egg |
---|
| 41 | |
---|
| 42 | # INSTALL SASVIEW |
---|
[752f12d] | 43 | cd $WORKSPACE/sasview/dist |
---|
[516ca41] | 44 | $EASY_INSTALL -d $WORKSPACE/sasview/sasview-install sasview*.egg |
---|
| 45 | |
---|
| 46 | # TEST |
---|
[752f12d] | 47 | cd $WORKSPACE/sasview/test |
---|
[516ca41] | 48 | $PYTHON utest_sasview.py |
---|
Note: See
TracBrowser
for help on using the repository browser.