Skip to content

Commit 3d08660

Browse files
author
sjoshistrats
authored
Update config.yml
1 parent 719df83 commit 3d08660

File tree

1 file changed

+13
-17
lines changed

1 file changed

+13
-17
lines changed

.circleci/config.yml

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,22 @@
1-
# Use the latest 2.1 version of CircleCI pipeline process engine.
2-
# See: https://circleci.com/docs/2.0/configuration-reference
31
version: 2.1
42

5-
# Define a job to be invoked later in a workflow.
6-
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
73
jobs:
8-
say-hello:
9-
# Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub.
10-
# See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor
4+
build_test:
115
docker:
12-
- image: cimg/base:stable
13-
# Add steps to the job
14-
# See: https://circleci.com/docs/2.0/configuration-reference/#steps
6+
- image: circleci/python:3.6.1
157
steps:
16-
- checkout
8+
- checkout # checkout source code to working directory
179
- run:
18-
name: "Say hello"
19-
command: "echo Hello, World!"
10+
command: | # create whl and use pipenv to install dependencies
11+
python setup.py sdist bdist_wheel
12+
sudo pip install pipenv
13+
pipenv install dist/fastgrouper-0.1.0-py3-none-any.whl
14+
pipenv install pytest
15+
- run:
16+
command: | # Run test suite
17+
pipenv run pytest -s -vv
2018
21-
# Invoke jobs via workflows
22-
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
2319
workflows:
24-
say-hello-workflow:
20+
build_test:
2521
jobs:
26-
- say-hello
22+
- build_test

0 commit comments

Comments
 (0)