aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml33
1 files changed, 15 insertions, 18 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 6554e1f..7b6d44d 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -1,26 +1,23 @@
1# Use the latest 2.1 version of CircleCI pipeline process engine.
2# See: https://circleci.com/docs/2.0/configuration-reference
3version: 2.1 1version: 2.1
4
5# Define a job to be invoked later in a workflow.
6# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
7jobs: 2jobs:
8 say-hello: 3 run-tests:
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
11 docker: 4 docker:
12 - image: cimg/base:stable 5 - image: cimg/python
13 # Add steps to the job
14 # See: https://circleci.com/docs/2.0/configuration-reference/#steps
15 steps: 6 steps:
16 - checkout 7 - checkout
17 - run: 8 - run:
18 name: "Say hello" 9 name: "Install test deps"
19 command: "echo Hello, World!" 10 command: "pip install .[test]"
20 11 - run:
21# Invoke jobs via workflows 12 name: "Install codecov"
22# See: https://circleci.com/docs/2.0/configuration-reference/#workflows 13 command: "pip install codecov"
14 - run:
15 name: "Run tests"
16 command: "python setup.py pytest"
17 - run:
18 name: "Notify codecov"
19 command: "codecov"
23workflows: 20workflows:
24 say-hello-workflow: 21 run-tests-workflow:
25 jobs: 22 jobs:
26 - say-hello 23 - run-tests
Powered by cgit v1.2.3 (git 2.41.0)