aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.build.yml14
-rw-r--r--.travis.yml46
-rw-r--r--requirements.txt1
-rw-r--r--scripts/setup_linux.sh1
-rw-r--r--scripts/setup_osx.sh1
-rw-r--r--scripts/setup_windows.sh5
6 files changed, 14 insertions, 54 deletions
diff --git a/.build.yml b/.build.yml
new file mode 100644
index 0000000..b56cfcf
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,14 @@
+image: alpine/latest
+packages:
+ - py3-pip
+sources:
+ - https://git.sr.ht/~boringcactus/vidslice
+tasks:
+ - install: |
+ cd vidslice
+ python3 -m pip install -r requirements.txt
+ - build: |
+ cd vidslice
+ python3 -m zipapp vidslice -o vidslice-dev.pyw -c
+artifacts:
+ - vidslice/vidslice-dev.pyw
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 7b420ef..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,46 +0,0 @@
-language: shell
-if: tag IS present OR branch = build-fuckery
-dist: bionic
-os:
- - linux
- - osx
- - windows
-addons:
- apt:
- packages:
- - python3.7
- - python3.7-dev
- - python3-pip
- - python3-setuptools
- - python3-tk
- homebrew:
- packages:
- - python@3.7
-before_install:
- - chmod +x scripts/setup_${TRAVIS_OS_NAME}.sh
- - . scripts/setup_${TRAVIS_OS_NAME}.sh
-install:
- - which python && export PYTHON=python || echo whatever
- - which python3 && export PYTHON=python3 || echo whatever
- - which python3.7 && export PYTHON=python3.7 || echo whatever
- - echo ${PYTHON}
- - ${PYTHON} -m pip install -r requirements.txt
-script:
- - ${PYTHON} setup.py build
-before_deploy:
- - ${PYTHON} setup.py build
- - pushd build
- - mv * vidslice
- - zip vidslice-${TRAVIS_OS_NAME}.zip -r vidslice || powershell Compress-Archive -Path vidslice -DestinationPath vidslice-${TRAVIS_OS_NAME}.zip
- - ls
- - popd
-deploy:
- skip_cleanup: true
- provider: releases
- api_key:
- secure: "MEE1jkxa+YX50iYLrDHUUdW4anlDwhgT41quWqCCM2qRg3iY4qaN/BK5Q4XSd+h8RCf2gDRAU3wP6jA6cUrxFH6Nw/hszgvXN90A2Lhs2EG5HQ4bVOqzvsO13Zf8/Ha0PJyTXFSnRCdGUpSggcuJ3zbhSoU5xNO+Ch7WWcGraYuoCGS0Xl24LvQzWCb400C1tifx9ITDEinPYHR7objlRmmitvy6jhWmfiP2zeefTXAzLvYWhR3DpvsuzriVR79AVriRwnFP1yjpjfpvxnjqx+3GJEYmQy1SmaiQa8f9jK+agLyszefRoyquMu6j2pYTw9CPp7LC1WyVFHV1k0d74l2v9Yr2sVDqx6i131+9bhSD9D0OdL8A1RuPUlJUWy0FncfRUj3+rL3aCf+qO2kYS1gGeTD3A9RuaMYFsrrNqDtsLA1reF0nQ3eGqJ3HIaSyTFPt8EJ5bG8H2qErnGRz5E/TEDoZRY5rIyKwnIaPzoMLyRJGn7I/5ufvb0B06BNfhQLS4HrjqVTYFjM2ulbwTPLxmZH60hw/SAWpWFFhdbAWpNn7ezV9IBQEb2N+ovAPUgTbcWio1FYSZyB81NVgfL7V/aGIEmB0KNYvB6JL6VEaGV1BCf63X/5Nl7qxXZRBlGjwE893NKfNuxCjU0QC8voA3DwUXYmLr69PusyemtY="
- file_glob: true
- file: build/*.zip
- on:
- repo: boringcactus/vidslice
- tags: true
diff --git a/requirements.txt b/requirements.txt
index c95cfcb..e69de29 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1 +0,0 @@
-cx_Freeze
diff --git a/scripts/setup_linux.sh b/scripts/setup_linux.sh
deleted file mode 100644
index f1f641a..0000000
--- a/scripts/setup_linux.sh
+++ /dev/null
@@ -1 +0,0 @@
-#!/usr/bin/env bash
diff --git a/scripts/setup_osx.sh b/scripts/setup_osx.sh
deleted file mode 100644
index f1f641a..0000000
--- a/scripts/setup_osx.sh
+++ /dev/null
@@ -1 +0,0 @@
-#!/usr/bin/env bash
diff --git a/scripts/setup_windows.sh b/scripts/setup_windows.sh
deleted file mode 100644
index a8da537..0000000
--- a/scripts/setup_windows.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/usr/bin/env bash
-choco install python --version 3.7.9 -y
-curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
-export PATH=/C/Python37:$PATH
-python get-pip.py