Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

Commit 194a32f

Browse files
authored
Add circleci config. (#3)
1 parent ecd7b99 commit 194a32f

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.circleci/config.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
version: 2
2+
jobs:
3+
sample_integration_test:
4+
working_directory: ~/dialogflow-java
5+
filters:
6+
branches:
7+
only:
8+
- master
9+
- circleci-config
10+
- dialogflow-ci-integration
11+
tags:
12+
only: /^v[\d.]+$/
13+
docker:
14+
- image: circleci/openjdk:8-jdk-browsers
15+
steps:
16+
- run:
17+
name: Create Google Application Credential file
18+
command: |
19+
echo ${GOOGLE_APPLICATION_CREDENTIALS_CONTENT} > /tmp/key.json
20+
# Add integration test command
21+
- run:
22+
name: Delete Google Application Credential file
23+
when: always
24+
command: |
25+
rm /tmp/key.json
26+
# Store test report
27+
workflows:
28+
version: 2
29+
sample_integration_test:
30+
jobs:
31+
- sample_integration_test
32+
33+

0 commit comments

Comments
 (0)