Skip to content

Commit 2ef9a4d

Browse files
committed
required to use Env. Var for Circle
1 parent 7561bab commit 2ef9a4d

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

.c9build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ CI=true testspace config url samples.testspace.com
2121

2222
# Push content
2323
# using "list file" because 5 items being pushed
24-
testspace @.testspace.txt "#c9.Build" --repo git
24+
CI_REPORTS=$PWD/test/reports testspace @.testspace.txt "#c9.Build" --repo git

.testspace.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
tmp/rubocop.txt{lint}
33
tmp/brakeman_checkstyle.xml
44
tmp/scss-lint.txt{lint}
5-
[Tests]$PWD/test/reports/TEST*.xml{test}
5+
[Tests]$CI_REPORTS/TEST*.xml{test}
66
coverage/coverage.xml

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ script:
1818
- bundle exec rake minitest test
1919

2020
after_script:
21-
- testspace @.testspace.txt
21+
- CI_REPORTS=$PWD/test/reports testspace @.testspace.txt

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ bundle exec scss-lint --no-color --format=Stats --format=Default --out=tmp/scss-
5151
Running Tests with Code Coverage:
5252

5353
<pre>
54+
export CI_REPORTS=$PWD/test/reports
5455
bundle exec rake minitest test
5556
</pre>
5657

circle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ test:
1717
- bundle exec rake minitest test
1818

1919
post:
20-
- testspace @.testspace.txt
20+
- CI_REPORTS=$CIRCLE_TEST_REPORTS testspace @.testspace.txt

shippable.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
- bundle exec rake minitest test
1717

1818
on_success:
19-
- testspace @.testspace.txt
19+
- CI_REPORTS=$PWD/test/reports testspace @.testspace.txt
2020

2121
on_failure:
22-
- testspace @.testspace.txt
22+
- CI_REPORTS=$PWD/test/reports testspace @.testspace.txt

0 commit comments

Comments
 (0)