diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000000000000000000000000000000000000..0d40c2bc0be8a41e149b4570ba96faf483f62afb --- /dev/null +++ b/.drone.yml @@ -0,0 +1,32 @@ +kind: pipeline +type: docker +name: default + +steps: +- name: static-test + image: alpine/flake8 + commands: + - python3 -m flake8 --ignore E501,W503 + +- name: build + image: python + commands: + - python3 -m pip install build + - python3 -m build alice-ci + +- name: publish + image: python + environment: + TWINE_PASSWORD: + from_secret: pypi_username + TWINE_USERNAME: + from_secret: pypi_token + commands: + - python3 -m pip install twine + - python3 -m twine upload alice-ci/dist/* + when: + branch: + - master + event: + exclude: + - pull_request \ No newline at end of file diff --git a/LICENSE b/LICENSE index 2071b23b0e08594ea6bc99ac71129ef992abf498..c2f5393bf6267518191725a22c2e86f91e206860 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) <year> <copyright holders> +Copyright (c) 2022 Daniel Gyulai Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: