Skip to content

Commit b324659

Browse files
committed
setting env. var. when calling client
1 parent 294f750 commit b324659

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

.c9build.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ bundle exec brakeman -o tmp/brakeman.json
1010
bundle exec brakeman_translate_checkstyle_format translate --file="tmp/brakeman.json" > tmp/brakeman_checkstyle.xml
1111

1212
# Test
13-
export CI_REPORTS=$PWD/spec/reports
1413
COVERAGE=true xvfb-run --server-args="-screen 0 1024x768x24" bundle exec rake ci:setup:rspec spec
1514

1615
# Publish
1716
curl -s https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | sudo tar -zxvf- -C /usr/local/bin
18-
testspace @.testspace master.c9
17+
CI_REPORTS=$PWD/spec/reports testspace @.testspace master.c9

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ script:
1515
- bundle exec brakeman -o tmp/brakeman.json
1616
- bundle exec brakeman_translate_checkstyle_format translate --file="tmp/brakeman.json" > tmp/brakeman_checkstyle.xml
1717

18-
- export CI_REPORTS=$PWD/spec/reports
1918
- COVERAGE=true bundle exec rake ci:setup:rspec spec
2019

2120
after_script:
2221
- curl -s https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | sudo tar -zxvf- -C /usr/local/bin
23-
- testspace @.testspace $TESTSPACE_TOKEN/${TRAVIS_BRANCH}#travis.Build.${TRAVIS_BUILD_NUMBER}
22+
- CI_REPORTS=$PWD/spec/reports testspace @.testspace $TESTSPACE_TOKEN/${TRAVIS_BRANCH}#travis.Build.${TRAVIS_BUILD_NUMBER}

circle.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ test:
99
- bundle exec brakeman -o tmp/brakeman.json
1010
- bundle exec brakeman_translate_checkstyle_format translate --file="tmp/brakeman.json" > tmp/brakeman_checkstyle.xml
1111

12-
- export CI_REPORTS=$CIRCLE_TEST_REPORTS
1312
- RAILS_ENV=test COVERAGE=true bundle exec rake ci:setup:rspec spec
1413

1514
post:
1615
- curl -s https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | sudo tar -zxvf- -C /usr/local/bin
17-
- testspace @.testspace $TESTSPACE_TOKEN/${CIRCLE_BRANCH}#circle.Build.${CIRCLE_BUILD_NUM}
16+
- CI_REPORTS=$CIRCLE_TEST_REPORTS testspace @.testspace $TESTSPACE_TOKEN/${CIRCLE_BRANCH}#circle.Build.${CIRCLE_BUILD_NUM}

shippable.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@ script:
2020
- bundle exec brakeman -o tmp/brakeman.json
2121
- bundle exec brakeman_translate_checkstyle_format translate --file="tmp/brakeman.json" > tmp/brakeman_checkstyle.xml
2222

23-
- export CI_REPORTS=$PWD/spec/reports
2423
- COVERAGE=true xvfb-run --server-args="-screen 0 1024x768x24" bundle exec rake ci:setup:rspec spec
2524

2625
after_script:
2726
- curl -s https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | sudo tar -zxvf- -C /usr/local/bin
28-
- testspace @.testspace $TESTSPACE_TOKEN/${BRANCH}#ship.Build.${BUILD_NUMBER}
27+
- CI_REPORTS=$PWD/spec/reports testspace @.testspace $TESTSPACE_TOKEN/${BRANCH}#ship.Build.${BUILD_NUMBER}
2928

0 commit comments

Comments
 (0)