Skip to content

Commit 7ad8a53

Browse files
authored
Merge pull request Clever#57 from Clever/INFRA-3175-circleci-2
[INFRA-3175] autotranslate CircleCI 1.0 -> 2.0
2 parents 22419ce + 8a2866e commit 7ad8a53

File tree

2 files changed

+22
-11
lines changed

2 files changed

+22
-11
lines changed

.circleci/config.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: 2
2+
jobs:
3+
build:
4+
working_directory: ~/Clever/clever-python
5+
docker:
6+
- image: circleci/python:2.7.15
7+
environment:
8+
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
9+
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
10+
steps:
11+
- run:
12+
command: cd $HOME && git clone --depth 1 -v https://github.com/Clever/ci-scripts.git && cd ci-scripts && git show --oneline -s
13+
name: Clone ci-scripts
14+
- checkout
15+
- setup_remote_docker
16+
- run:
17+
command: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
18+
name: Set up CircleCI artifacts directories
19+
- run: sudo pip install -r test-requirements.txt
20+
- run: sudo pip install -r requirements.txt
21+
- run: make test
22+
- run: $HOME/ci-scripts/circleci/report-card $RC_DOCKER_USER $RC_DOCKER_PASS "$RC_DOCKER_EMAIL" $RC_GITHUB_TOKEN

circle.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)