summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Peuch <cortex@worlddomination.be>2020-04-15 17:07:31 +0200
committerLaurent Peuch <cortex@worlddomination.be>2020-04-15 17:07:31 +0200
commit64d6c97977ccaff2161d7aeed8867ac9ab452380 (patch)
tree2fcdc3d567c2925df4f2828db753109797f98945
parent1ca9be028235dfc29c4ec16e0912d86e5ad00367 (diff)
downloadlogilab-common-64d6c97977ccaff2161d7aeed8867ac9ab452380.tar.gz
add .gitlab-ci.yml that uses tox
-rw-r--r--.gitlab-ci.yml19
-rw-r--r--MANIFEST.in1
2 files changed, 20 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..1e1b6ff
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,19 @@
+image: python
+
+before_script:
+ - pip install tox
+
+flake8:
+ script: tox -e flake8
+
+py3:
+ script: tox -e py3
+
+check-manifest:
+ script: tox -e check-manifest
+
+black:
+ script: tox -e black
+
+mypy:
+ script: tox -e mypy
diff --git a/MANIFEST.in b/MANIFEST.in
index b12fd5f..47c0d58 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -16,3 +16,4 @@ include __pkginfo__.py
prune debian
prune docs/_build
prune .hgrc
+prune .gitlab-ci.yml