Skip to content

Commit 1666b2d

Browse files
committed
Actually install the cloned repo before running cci functional tests
1 parent 5eb25e8 commit 1666b2d

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

heroku_ci.sh

+8-5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ cd CumulusCI
77
git reset --hard $HEROKU_TEST_RUN_COMMIT_VERSION
88
nosetests --with-tap --tap-stream --with-coverage --cover-package=cumulusci
99

10+
python setup.py build
11+
python setup.py install
12+
1013
# Clone the CumulusCI-Test repo to run test builds against it with cci
1114
echo "------------------------------------------"
1215
echo "Running test builds against CumulusCI-Test"
@@ -17,29 +20,29 @@ git clone https://github.com/SalesforceFoundation/CumulusCI-Test
1720
cd CumulusCI-Test
1821
if [ $HEROKU_TEST_RUN_BRANCH == "master" ]; then
1922
echo "1...4"
20-
coverage run --append --source=/app/cumulusci `which cci` flow run ci_feature --org scratch --delete-org | tee cci.log
23+
coverage run --append --source=../cumulusci `which cci` flow run ci_feature --org scratch --delete-org | tee cci.log
2124
exit_status=$?
2225
if [ "$exit_status" == "0" ]; then
2326
echo "ok 1 - Successfully ran ci_feature"
2427
else
2528
echo "not ok 1 - Failed ci_feature: `tail -1 cci.log`"
2629
fi
2730

28-
coverage run --append --source=/app/cumulusci `which cci` flow run ci_master --org packaging | tee -a cci.log
31+
coverage run --append --source=../cumulusci `which cci` flow run ci_master --org packaging | tee -a cci.log
2932
exit_status=$?
3033
if [ "$exit_status" == "0" ]; then
3134
echo "ok 2 - Successfully ran ci_master"
3235
else
3336
echo "not ok 2 - Failed ci_master: `tail -1 cci.log`"
3437
fi
35-
coverage run --append --source=/app/cumulusci `which cci` flow run release_beta --org packaging | tee -a cci.log
38+
coverage run --append --source=../cumulusci `which cci` flow run release_beta --org packaging | tee -a cci.log
3639
exit_status=$?
3740
if [ "$exit_status" == "0" ]; then
3841
echo "ok 3 - Successfully ran release_beta"
3942
else
4043
echo "not ok 3 - Failed release_beta: `tail -1 cci.log`"
4144
fi
42-
coverage run --append --source=/app/cumulusci `which cci` flow run ci_beta --org scratch --delete-org | tee -a cci.log
45+
coverage run --append --source=../cumulusci `which cci` flow run ci_beta --org scratch --delete-org | tee -a cci.log
4346
exit_status=$?
4447
if [ "$exit_status" == "0" ]; then
4548
echo "ok 4 - Successfully ran ci_beta"
@@ -49,7 +52,7 @@ if [ $HEROKU_TEST_RUN_BRANCH == "master" ]; then
4952

5053
else
5154
echo "1...1"
52-
coverage run --append --source=/app/cumulusci `which cci` flow run ci_feature --org scratch --delete-org
55+
coverage run --append --source=../cumulusci `which cci` flow run ci_feature --org scratch --delete-org
5356
exit_status=$?
5457
if [ "$exit_status" == "0" ]; then
5558
echo "ok 1 - Successfully ran ci_feature"

0 commit comments

Comments
 (0)