|
@@ -97,3 +97,39 @@ jobs:
|
|
|
- store_artifacts:
|
|
- store_artifacts:
|
|
|
path: test-reports
|
|
path: test-reports
|
|
|
destination: test-reports
|
|
destination: test-reports
|
|
|
|
|
+
|
|
|
|
|
+ commit:
|
|
|
|
|
+ docker:
|
|
|
|
|
+ - image: circleci/python:3.6.1
|
|
|
|
|
+
|
|
|
|
|
+ working_directory: ~/repo
|
|
|
|
|
+
|
|
|
|
|
+ steps:
|
|
|
|
|
+ - checkout
|
|
|
|
|
+
|
|
|
|
|
+ - add_ssh_keys:
|
|
|
|
|
+ fingerprints:
|
|
|
|
|
+ - "8c:68:29:28:04:80:38:31:c0:59:d9:3d:65:3e:b7:8c"
|
|
|
|
|
+
|
|
|
|
|
+ - run:
|
|
|
|
|
+ name: push to master
|
|
|
|
|
+ command: |
|
|
|
|
|
+ git push origin HEAD:master
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+workflows:
|
|
|
|
|
+ version: 2
|
|
|
|
|
+ run-tests-and-rebase-master:
|
|
|
|
|
+ jobs:
|
|
|
|
|
+ - build:
|
|
|
|
|
+ filters:
|
|
|
|
|
+ branches:
|
|
|
|
|
+ ignore:
|
|
|
|
|
+ - master
|
|
|
|
|
+ - commit:
|
|
|
|
|
+ requires:
|
|
|
|
|
+ - build
|
|
|
|
|
+ filters:
|
|
|
|
|
+ branches:
|
|
|
|
|
+ only:
|
|
|
|
|
+ - /.*ci-commit-master.*/
|