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 0d13814 was
b742b8b5,
checked in by wojciech, 8 years ago
|
Dummy commit to check if jenkins is up and running again
|
-
Property mode set to
100755
|
File size:
1.6 KB
|
Line | |
---|
1 | export PATH=$PATH:/usr/local/bin/ |
---|
2 | |
---|
3 | PYTHON=${PYTHON:-`which python`} |
---|
4 | EASY_INSTALL=${EASY_INSTALL:-`which easy_install`} |
---|
5 | PYLINT=${PYLINT:-`which pylint`} |
---|
6 | |
---|
7 | export PYTHONPATH=$PYTHONPATH:$WORKSPACE/sasview/utils |
---|
8 | export PYTHONPATH=$PYTHONPATH:$WORKSPACE/sasview/sasview-install |
---|
9 | export PYTHONPATH=$PYTHONPATH:/Library/Python/2.7/site-packages |
---|
10 | |
---|
11 | export LC_ALL=en_US.UTF-8 |
---|
12 | export LANG=en_US.UTF-8 |
---|
13 | |
---|
14 | |
---|
15 | cd $WORKSPACE |
---|
16 | |
---|
17 | # SET SASVIEW GITHASH |
---|
18 | cd $WORKSPACE |
---|
19 | cd sasview/sasview |
---|
20 | githash=$( git rev-parse HEAD ) |
---|
21 | sed -i.bak s/GIT_COMMIT/$githash/g __init__.py |
---|
22 | |
---|
23 | |
---|
24 | # SASMODLES |
---|
25 | cd $WORKSPACE |
---|
26 | cd sasmodels |
---|
27 | |
---|
28 | rm -rf build |
---|
29 | rm -rf dist |
---|
30 | |
---|
31 | $PYTHON setup.py clean |
---|
32 | $PYTHON setup.py build |
---|
33 | |
---|
34 | |
---|
35 | # SASMODLES - BUILD DOCS |
---|
36 | cd doc |
---|
37 | make html |
---|
38 | |
---|
39 | #SASMODELS - BUILDING AND TESTING |
---|
40 | cd $WORKSPACE |
---|
41 | cd sasmodels |
---|
42 | $PYTHON setup.py bdist_egg |
---|
43 | $PYTHON -m sasmodels.model_test all |
---|
44 | |
---|
45 | # SASVIEW |
---|
46 | cd $WORKSPACE |
---|
47 | cd sasview |
---|
48 | rm -rf sasview-install |
---|
49 | mkdir sasview-install |
---|
50 | rm -rf utils |
---|
51 | mkdir utils |
---|
52 | rm -rf dist |
---|
53 | rm -rf build |
---|
54 | |
---|
55 | |
---|
56 | # INSTALL SASMODELS |
---|
57 | cd $WORKSPACE |
---|
58 | cd sasmodels |
---|
59 | cd dist |
---|
60 | $EASY_INSTALL -d $WORKSPACE/sasview/utils sasmodels*.egg |
---|
61 | |
---|
62 | |
---|
63 | # BUILD SASVIEW |
---|
64 | cd $WORKSPACE |
---|
65 | cd sasview |
---|
66 | $PYTHON setup.py clean |
---|
67 | $PYTHON setup.py build docs bdist_egg |
---|
68 | |
---|
69 | |
---|
70 | # INSTALL SASVIEW |
---|
71 | cd $WORKSPACE |
---|
72 | cd sasview |
---|
73 | cd dist |
---|
74 | $EASY_INSTALL -d $WORKSPACE/sasview/sasview-install sasview*.egg |
---|
75 | |
---|
76 | |
---|
77 | # TEST |
---|
78 | cd $WORKSPACE |
---|
79 | cd sasview |
---|
80 | cd test |
---|
81 | $PYTHON utest_sasview.py |
---|
82 | |
---|
83 | # PYLINT |
---|
84 | cd $WORKSPACE |
---|
85 | cd sasview |
---|
86 | $PYLINT --rcfile "build_tools/pylint.rc" -f parseable sasview-install/sasview*.egg/sas sasview | tee test/sasview.txt |
---|
87 | |
---|
88 | # BUILD APP |
---|
89 | cd $WORKSPACE |
---|
90 | cd sasview/sasview |
---|
91 | $PYTHON setup_mac.py py2app |
---|
92 | |
---|
Note: See
TracBrowser
for help on using the repository browser.