aboutsummaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-06-09 17:54:27 -0500
committerJesús <heckyel@hyperbola.info>2021-06-09 17:54:27 -0500
commit27fe903c511691c078942bef5ee9a05a43b15c8f (patch)
tree50f30ab2ec749b965869518c0a28651f8677f0d3 /.drone.yml
downloadhypervideo-27fe903c511691c078942bef5ee9a05a43b15c8f.tar.lz
hypervideo-27fe903c511691c078942bef5ee9a05a43b15c8f.tar.xz
hypervideo-27fe903c511691c078942bef5ee9a05a43b15c8f.zip
initial
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
new file mode 100644
index 0000000..3c719be
--- /dev/null
+++ b/.drone.yml
@@ -0,0 +1,20 @@
+kind: pipeline
+name: default
+
+steps:
+- name: test
+ image: debian:bullseye
+ commands:
+ - apt update -y
+ - apt install -y python3-pip jython
+ - pip3 install nose flake8
+ # Core
+ - export YTDL_TEST_SET=core
+ - export JYTHON=true;
+ - bash ./devscripts/run_tests.sh || true
+ # Download
+ - export YTDL_TEST_SET=download
+ - export JYTHON=true;
+ - bash ./devscripts/run_tests.sh || true
+ # Check syntax
+ - flake8 .