Skip to content

Commit

Permalink
update circleci config
Browse files Browse the repository at this point in the history
Anki requires python 3.6 or later. However this version is not available with cirrcleci 1.0, hence the migration to 2.0.
Sadly pytest-circleci 0.2 does not support python 3 yet, so parallel jobs are omitted for now.
  • Loading branch information
j-kramer committed Aug 23, 2018
1 parent 525c104 commit c4a2053
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 10 deletions.
25 changes: 25 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
version: 2
jobs:
build:
docker:
- image: circleci/python:3.6.6-stretch
steps:
- checkout
- run: git submodule sync
- run: git submodule update --init
- run:
name: install dependencies
command: |
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt
- run:
name: run tests
command: |
mkdir test-reports
. venv/bin/activate
py.test --verbose --junitxml=test-reports/junit.xml
- store_test_results:
path: test-reports/
- store_artifacts:
path: test-reports/
9 changes: 0 additions & 9 deletions circle.yml

This file was deleted.

1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Paver==1.2.2
mock==1.0.1
pytest==2.6.1
pytest-circleci==0.0.2

0 comments on commit c4a2053

Please sign in to comment.