Skip to content

Commit 4ea7c34

Browse files
authored
Merge pull request #5 from testspace-samples/update_testspace_txt
Update testspace txt
2 parents e003d68 + 9de2d08 commit 4ea7c34

File tree

4 files changed

+22
-22
lines changed

4 files changed

+22
-22
lines changed

.circleci/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ jobs:
2525
command: testspace config url samples.testspace.com
2626
- run:
2727
name: Run rubocop
28-
command: bundle exec rubocop --format emacs --out tmp/rubocop.txt || true
28+
command: bundle exec rubocop --format emacs --out reports/rubocop.txt || true
2929
- run:
3030
name: Run SCSS linter
31-
command: bundle exec scss-lint --no-color --format=Stats --format=Default --out=tmp/scss-lint.txt app/assets/stylesheets/ || true
31+
command: bundle exec scss-lint --no-color --format=Stats --format=Default --out=reports/scss-lint.txt app/assets/stylesheets/ || true
3232
- run:
3333
name: Run brakeman
34-
command: bundle exec brakeman -o tmp/brakeman.json
35-
- run: bundle exec brakeman_translate_checkstyle_format translate --file="tmp/brakeman.json" > tmp/brakeman_checkstyle.xml
34+
command: bundle exec brakeman -o reports/brakeman.json
35+
- run: bundle exec brakeman_translate_checkstyle_format translate --file="reports/brakeman.json" > reports/brakeman_checkstyle.xml
3636
- run:
3737
name: Run specs
38-
command: CI_REPORTS=reports bundle exec rake minitest test
38+
command: CI_REPORTS=reports/test bundle exec rake minitest test
3939
- run:
4040
name: Send reports to testspace
4141
command: testspace @.testspace.txt

.testspace.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Addding some comments here
2-
tmp/rubocop.txt{lint}
3-
tmp/brakeman_checkstyle.xml
4-
tmp/scss-lint.txt{lint}
5-
[Tests]reports/TEST*.xml{test}
2+
reports/rubocop.txt{lint}
3+
reports/brakeman_checkstyle.xml
4+
reports/scss-lint.txt{lint}
5+
[Tests]reports/test/TEST*.xml{test}
66
coverage/coverage.xml

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ before_script:
1111

1212
script:
1313
- bundle install
14-
- bundle exec rubocop --format emacs --out tmp/rubocop.txt || true
15-
- bundle exec brakeman -o tmp/brakeman.json
16-
- bundle exec brakeman_translate_checkstyle_format translate --file="tmp/brakeman.json" > tmp/brakeman_checkstyle.xml
17-
- bundle exec scss-lint --no-color --format=Stats --format=Default --out=tmp/scss-lint.txt app/assets/stylesheets/ || true
18-
- bundle exec rake minitest test
14+
- bundle exec rubocop --format emacs --out reports/rubocop.txt || true
15+
- bundle exec brakeman -o reports/brakeman.json
16+
- bundle exec brakeman_translate_checkstyle_format translate --file="reports/brakeman.json" > reports/brakeman_checkstyle.xml
17+
- bundle exec scss-lint --no-color --format=Stats --format=Default --out=reports/scss-lint.txt app/assets/stylesheets/ || true
18+
- CI_REPORTS=reports/test bundle exec rake minitest test
1919

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

shippable.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
- curl -fsSL https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | tar -zxvf- -C $HOME/bin
1010
- testspace config url samples.testspace.com
1111
- bundle install
12-
- bundle exec rubocop --format emacs --out tmp/rubocop.txt || true
13-
- bundle exec brakeman -o tmp/brakeman.json
14-
- bundle exec brakeman_translate_checkstyle_format translate --file="tmp/brakeman.json" > tmp/brakeman_checkstyle.xml
15-
- bundle exec scss-lint --no-color --format=Stats --format=Default --out=tmp/scss-lint.txt app/assets/stylesheets/ || true
16-
- bundle exec rake minitest test
12+
- bundle exec rubocop --format emacs --out reports/rubocop.txt || true
13+
- bundle exec brakeman -o reports/brakeman.json
14+
- bundle exec brakeman_translate_checkstyle_format translate --file="reports/brakeman.json" > reports/brakeman_checkstyle.xml
15+
- bundle exec scss-lint --no-color --format=Stats --format=Default --out=reports/scss-lint.txt app/assets/stylesheets/ || true
16+
- CI_REPORTS=reports/test bundle exec rake minitest test
1717

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

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

0 commit comments

Comments
 (0)