@@ -7,6 +7,9 @@ cd CumulusCI
7
7
git reset --hard $HEROKU_TEST_RUN_COMMIT_VERSION
8
8
nosetests --with-tap --tap-stream --with-coverage --cover-package=cumulusci
9
9
10
+ python setup.py build
11
+ python setup.py install
12
+
10
13
# Clone the CumulusCI-Test repo to run test builds against it with cci
11
14
echo " ------------------------------------------"
12
15
echo " Running test builds against CumulusCI-Test"
@@ -17,29 +20,29 @@ git clone https://github.com/SalesforceFoundation/CumulusCI-Test
17
20
cd CumulusCI-Test
18
21
if [ $HEROKU_TEST_RUN_BRANCH == " master" ]; then
19
22
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
21
24
exit_status=$?
22
25
if [ " $exit_status " == " 0" ]; then
23
26
echo " ok 1 - Successfully ran ci_feature"
24
27
else
25
28
echo " not ok 1 - Failed ci_feature: ` tail -1 cci.log` "
26
29
fi
27
30
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
29
32
exit_status=$?
30
33
if [ " $exit_status " == " 0" ]; then
31
34
echo " ok 2 - Successfully ran ci_master"
32
35
else
33
36
echo " not ok 2 - Failed ci_master: ` tail -1 cci.log` "
34
37
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
36
39
exit_status=$?
37
40
if [ " $exit_status " == " 0" ]; then
38
41
echo " ok 3 - Successfully ran release_beta"
39
42
else
40
43
echo " not ok 3 - Failed release_beta: ` tail -1 cci.log` "
41
44
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
43
46
exit_status=$?
44
47
if [ " $exit_status " == " 0" ]; then
45
48
echo " ok 4 - Successfully ran ci_beta"
@@ -49,7 +52,7 @@ if [ $HEROKU_TEST_RUN_BRANCH == "master" ]; then
49
52
50
53
else
51
54
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
53
56
exit_status=$?
54
57
if [ " $exit_status " == " 0" ]; then
55
58
echo " ok 1 - Successfully ran ci_feature"
0 commit comments