diff options
-rw-r--r-- | .travis.yml | 13 | ||||
-rw-r--r-- | scripts/setup_linux.sh | 2 |
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 |