source: sasview/build_tools/jenkins_osx_build.sh @ 7945367

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 7945367 was e9e3e38, checked in by ajj, 9 years ago

Giving up with tar.gz and disabling. Only egg and DMG output now.

  • Property mode set to 100755
File size: 992 bytes
Line 
1export PATH=$PATH:/usr/local/bin/
2
3cd $WORKSPACE
4
5export PYTHONPATH=$WORKSPACE/sasview-install:$WORKSPACE/utils:$PYTHONPATH
6
7##########################################################################
8# Use git/svn scripts
9
10#  Check dependencies
11cd $WORKSPACE
12if [ ! -d "utils" ]; then
13    mkdir utils
14fi
15
16
17# BUILD_CODE
18cd $WORKSPACE
19/bin/sh -xe build_tools/jenkins_linux_build.sh
20
21
22# TEST_CODE
23cd $WORKSPACE
24/bin/sh -xe build_tools/jenkins_linux_test.sh
25
26
27# BUILD DOCS
28export LC_ALL=en_US.UTF-8
29export LANG=en_US.UTF-8
30cd $WORKSPACE
31python setup.py docs
32
33
34# BUILD_egg with new docs
35cd $WORKSPACE
36python setup.py bdist_egg --skip-build
37
38
39# PYLINT_CODE
40#cd $WORKSPACE
41#/bin/sh -xe build_tools/jenkins_linux_pylint.sh
42
43
44# BUILD APP
45cd $WORKSPACE/sasview
46python setup_mac.py py2app
47
48#cd $WORKSPACE/sasview/dist
49#tar -czf `python -c "import pkg_resources;print '%s.tar.gz SasView-%s.app' % (pkg_resources.get_distribution('sasview').egg_name(),pkg_resources.get_distribution('sasview').version)"`
Note: See TracBrowser for help on using the repository browser.