Skip to content

Commit

Permalink
Merge branch '30-circleci-project-setup'
Browse files Browse the repository at this point in the history
Change CI to CircleCI
Add Windows build

Fixes Nitrokey#30
Fixes Nitrokey#31
  • Loading branch information
szszszsz committed Jul 24, 2020
2 parents dc6bb28 + 139896f commit d3759a6
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 13 deletions.
26 changes: 26 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: 2.1

orbs:
win: circleci/[email protected]
python: circleci/[email protected]

jobs:
build-msi-win:
executor: win/default
steps:
- checkout
- run: pip install -r ci-requirements.txt
- run: python win_setup.py bdist_msi

build-linux:
executor: python/default
steps:
- checkout
- run: make init
- run: make CI

workflows:
main:
jobs:
- build-msi-win
- build-linux
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

12 changes: 12 additions & 0 deletions ci-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
cx-Freeze==6.1
click>=7.0
cryptography
ecdsa
fido2==0.7.3
intelhex
pyserial
pyusb
requests
pygments
cffi

1 change: 1 addition & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ flake8
flit
ipython
isort

0 comments on commit d3759a6

Please sign in to comment.