Skip to content

Commit f7dc1a0

Browse files
author
Greg Turnquist
committed
Working on scripts for CI.
1 parent 7f533d8 commit f7dc1a0

File tree

3 files changed

+39
-3
lines changed

3 files changed

+39
-3
lines changed

generate_site.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
# Greg Turnquist.
2222
###################################################################################
2323

24-
. sp/bin/activate
24+
. ~/sp/bin/activate
2525

2626
cd ~/spring-python-1.2.x
2727
git pull
28-
python2.6 build.py --clean --docs-sphinx --pydoc
28+
python build.py --clean --docs-sphinx --pydoc
2929

test.bash

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,8 @@
2626
# For bamboo
2727
. /home/bamboo/sp/bin/activate
2828

29-
python build.py --clean --test
29+
# On project site
30+
#. ~/sp/bin/activate
31+
32+
python build.py --clean --test
3033

test_and_package.bash

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#!/bin/bash
2+
###################################################################################
3+
# Copyright 2006-2008 SpringSource (http://springsource.com), All Rights Reserved
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
###################################################################################
17+
# This script is used to support continuous integration.
18+
#
19+
# NOTE: Do NOT alter this file without explicit permission from Project Lead
20+
# Greg Turnquist.
21+
###################################################################################
22+
23+
# For testing locally
24+
#. /Users/gturnquist/sp/bin/activate
25+
26+
# For bamboo
27+
. /home/bamboo/sp/bin/activate
28+
29+
# On project site
30+
#. ~/sp/bin/activate
31+
32+
python build.py --clean --test --package --build-stamp=$1
33+

0 commit comments

Comments
 (0)