forked from googleapis/googleapis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
42 lines (41 loc) · 1.08 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
version: 2
jobs:
build:
docker:
- image: googleapis/git
steps:
- checkout
- run:
command: |
if [ "$CIRCLE_BRANCH" == "master" ]; then
git remote add private https://googleapis-publisher:${GITHUB_TOKEN}@github.com/googleapis/googleapis-private.git
git push private HEAD:master
fi
working_directory: /var/code/googleapis/
smoke-all:
docker:
- image: googleapis/artman:latest
steps:
- checkout
- run:
name: Run smoke tests
command: |
mkdir /tmp/reports
export RUNNING_IN_ARTMAN_DOCKER=True
smoketest_artman.py --root-dir=/var/code/googleapis/ --log=/tmp/reports/smoketest.log
- store_test_results:
path: /tmp/reports
- store_artifacts:
path: /tmp/reports
- store_artifacts:
path: /var/code/googleapis
working_directory: /var/code/googleapis/
workflows:
version: 2
smoketests:
jobs:
- smoke-all:
filters:
branches:
only: master