Skip to content

Commit

Permalink
Configuring test credentials for CI environments (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidt-sebastian committed Jul 16, 2018
1 parent 2ecbc3d commit d0c32ae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .appveyor.yml
@@ -1,4 +1,6 @@
environment:
GOOGLE_APPLICATION_CREDENTIALS: build/test/fake-certificate.json

matrix:
- nodejs_version: 8

Expand Down
6 changes: 5 additions & 1 deletion .circleci/config.yml
Expand Up @@ -65,7 +65,11 @@ jobs:
npm install
environment:
NPM_CONFIG_PREFIX: /home/node/.npm-global
- run: npm run test-only
- run:
name: Run unit tests
command: npm run test-only
environment:
GOOGLE_APPLICATION_CREDENTIALS: build/test/fake-certificate.json
- run: npm run codecov
node8:
docker:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -41,7 +41,7 @@
"generate-scaffolding": "repo-tools generate all",
"system-test": "mocha build/system-test --timeout 600000",
"conformance": "mocha build/conformance",
"test-only": "GOOGLE_APPLICATION_CREDENTIALS=build/test/fake-certificate.json nyc mocha build/test",
"test-only": "nyc mocha build/test",
"test": "npm run test-only",
"check": "gts check",
"clean": "gts clean",
Expand Down

0 comments on commit d0c32ae

Please sign in to comment.