ESS_GUIESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_openclESS_GUI_sync_sascalc
Last change
on this file since 4e61e9a was
2f6d340,
checked in by Paul Kienzle <pkienzle@…>, 8 years ago
|
rename installers directory from sasview to installers
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[c10d5c63] | 1 | # Simplified build for Travis CI |
---|
[68e6ac8] | 2 | # No documentation is built |
---|
[8ab41a2] | 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 |
---|
[2f6d340] | 12 | cd $WORKSPACE/sasview/src/sas/sasview |
---|
[8ab41a2] | 13 | githash=$( git rev-parse HEAD ) |
---|
| 14 | sed -i.bak s/GIT_COMMIT/$githash/g __init__.py |
---|
| 15 | |
---|
[68e6ac8] | 16 | # SASMODELS |
---|
| 17 | cd $WORKSPACE/sasmodels |
---|
[8ab41a2] | 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 |
---|
[68e6ac8] | 25 | cd $WORKSPACE/sasview |
---|
[8ab41a2] | 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 |
---|
[68e6ac8] | 34 | cd $WORKSPACE/sasmodels/dist |
---|
[8ab41a2] | 35 | $EASY_INSTALL -d $WORKSPACE/sasview/utils sasmodels*.egg |
---|
| 36 | |
---|
| 37 | # BUILD SASVIEW |
---|
[68e6ac8] | 38 | cd $WORKSPACE/sasview |
---|
[8ab41a2] | 39 | $PYTHON setup.py clean |
---|
[8374dc0] | 40 | # $PYTHON setup.py build docs bdist_egg |
---|
| 41 | $PYTHON setup.py bdist_egg |
---|
[8ab41a2] | 42 | |
---|
| 43 | # INSTALL SASVIEW |
---|
[68e6ac8] | 44 | cd $WORKSPACE/sasview/dist |
---|
[8ab41a2] | 45 | $EASY_INSTALL -d $WORKSPACE/sasview/sasview-install sasview*.egg |
---|
| 46 | |
---|
| 47 | # TEST |
---|
[68e6ac8] | 48 | cd $WORKSPACE/sasview/test |
---|
[8ab41a2] | 49 | $PYTHON utest_sasview.py |
---|
Note: See
TracBrowser
for help on using the repository browser.