aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml5
-rw-r--r--scripts/setup_linux.sh2
2 files changed, 3 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 0e040da..8dc0246 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,15 +10,14 @@ addons:
before_install:
- sh scripts/setup_${TRAVIS_OS_NAME}.sh
install:
- - export PYTHON=python
- - which python3 && export PYTHON=python3
+ - which python3 && export PYTHON=python3 || export PYTHON=python
- echo ${PYTHON}
- ${PYTHON} -m pip install -r requirements.txt
after_success:
- ${PYTHON} setup.py build
- ls build
- pushd build
- - zip $(ls).zip -r $(ls)/ || powershell Compress-Archive -Path $(ls) -DestinationPath $(ls).zip
+ - zip vidslice-${TRAVIS_OS_NAME}.zip -r $(ls)/ || powershell Compress-Archive -Path $(ls) -DestinationPath vidslice-${TRAVIS_OS_NAME}.zip
- ls
- popd
deploy:
diff --git a/scripts/setup_linux.sh b/scripts/setup_linux.sh
index c910406..84ce4be 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 libgstreamer1.0-dev libsdl2-dev
+sudo apt-get install -y python3.5 python3-pip libgtk-3-dev libgstreamer1.0-dev libsdl2-dev libwxgtk3.0-dev