aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2019-02-26 22:20:03 -0700
committerMelody Horn <melody@boringcactus.com>2019-02-26 22:20:03 -0700
commit4a7945ed518a47e37ddbf26856e2aed958fce81e (patch)
treee194d8ed658daf744eccd57a4e0817b6ffe9cd8f
parente43bd093835c8e9f15191db2eaa420c694800e4f (diff)
downloadvidslice-4a7945ed518a47e37ddbf26856e2aed958fce81e.tar.gz
vidslice-4a7945ed518a47e37ddbf26856e2aed958fce81e.zip
install more dependencies
-rw-r--r--.travis.yml13
-rw-r--r--scripts/setup_linux.sh2
2 files changed, 11 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index c928edb..0e040da 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,4 @@
-language: generic
+language: shell
os:
- linux
- osx
@@ -10,10 +10,17 @@ addons:
before_install:
- sh scripts/setup_${TRAVIS_OS_NAME}.sh
install:
- - pip3 install -r requirements.txt || pip install -r requirements.txt
+ - export PYTHON=python
+ - which python3 && export PYTHON=python3
+ - echo ${PYTHON}
+ - ${PYTHON} -m pip install -r requirements.txt
after_success:
- - python3 setup.py build || python setup.py build
+ - ${PYTHON} setup.py build
- ls build
+ - pushd build
+ - zip $(ls).zip -r $(ls)/ || powershell Compress-Archive -Path $(ls) -DestinationPath $(ls).zip
+ - ls
+ - popd
deploy:
skip_cleanup: true
provider: releases
diff --git a/scripts/setup_linux.sh b/scripts/setup_linux.sh
index 12c56cc..c910406 100644
--- a/scripts/setup_linux.sh
+++ b/scripts/setup_linux.sh
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
sudo apt-get update
-sudo apt-get install -y python3.5 python3-pip libgtk-3-dev
+sudo apt-get install -y python3.5 python3-pip libgtk-3-dev libgstreamer1.0-dev libsdl2-dev