Skip to content

Commit d0c32ae

Browse files
authoredJul 16, 2018
Configuring test credentials for CI environments (#264)
1 parent 2ecbc3d commit d0c32ae

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed
 

‎.appveyor.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
environment:
2+
GOOGLE_APPLICATION_CREDENTIALS: build/test/fake-certificate.json
3+
24
matrix:
35
- nodejs_version: 8
46

‎.circleci/config.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,11 @@ jobs:
6565
npm install
6666
environment:
6767
NPM_CONFIG_PREFIX: /home/node/.npm-global
68-
- run: npm run test-only
68+
- run:
69+
name: Run unit tests
70+
command: npm run test-only
71+
environment:
72+
GOOGLE_APPLICATION_CREDENTIALS: build/test/fake-certificate.json
6973
- run: npm run codecov
7074
node8:
7175
docker:

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"generate-scaffolding": "repo-tools generate all",
4242
"system-test": "mocha build/system-test --timeout 600000",
4343
"conformance": "mocha build/conformance",
44-
"test-only": "GOOGLE_APPLICATION_CREDENTIALS=build/test/fake-certificate.json nyc mocha build/test",
44+
"test-only": "nyc mocha build/test",
4545
"test": "npm run test-only",
4646
"check": "gts check",
4747
"clean": "gts clean",

0 commit comments

Comments
 (0)
Please sign in to comment.