From 45cb0b314de712159cfffb2393dba0337a90ee23 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Tue, 26 Feb 2019 22:26:01 -0700 Subject: additional CI wrangling --- .travis.yml | 5 ++--- scripts/setup_linux.sh | 2 +- 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 -- cgit v1.2.3