Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move CircleCI config to the v2 format #84

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
version: 2

jobs:
build:
docker:
- image: &docker-image circleci/python:3.5-jessie-node-browsers
steps:
- checkout
- run: python3 -m venv venv
- run: venv/bin/pip install --upgrade setuptools
- run: venv/bin/pip install pytest pytest-cov fakeredis hypothesis networkx mypy
- run: venv/bin/pip install -r script/linting/requirements.txt
- run: gem install fpm
- run: rm -rf jacquard_split.egg-info
- run: venv/bin/pip install -e .
- run: find . -name '__pycache__' -or -name '*.pyc' | xargs rm -rf
- run: mkdir -p $CIRCLE_TEST_REPORTS/pytest
- run: venv/bin/py.test -v --cov=jacquard --junit-xml=$CIRCLE_TEST_REPORTS/pytest/junit.xml jacquard
- run: script/linting/lint
- run: mypy -p jacquard --ignore-missing-imports --strict-optional
- run: ./hax_debian.sh
- run: mkdir -p debs
- run: mv *.deb debs/
- store_artifacts:
path: debs
prefix: debs

# deployment:
# release:
# tag: /[0-9]+(\.[0-9]+)*/
# owner: prophile
# commands:
# - pip install twine wheel
# - rm -rf dist
# - python setup.py sdist bdist_wheel
# - twine upload dist/*

36 changes: 0 additions & 36 deletions circle.yml

This file was deleted.