diff options
-rw-r--r-- | .travis.yml | 13 | ||||
-rw-r--r-- | scripts/setup_linux.sh | 3 | ||||
-rw-r--r-- | scripts/setup_osx.sh | 1 | ||||
-rw-r--r-- | scripts/setup_windows.sh | 2 |
4 files changed, 16 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 0a6541d..c928edb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,18 @@ -language: python +language: generic os: - linux - osx - windows -python: '3.6' +addons: + homebrew: + packages: + - python +before_install: + - sh scripts/setup_${TRAVIS_OS_NAME}.sh +install: + - pip3 install -r requirements.txt || pip install -r requirements.txt after_success: - - python setup.py build + - python3 setup.py build || python setup.py build - ls build deploy: skip_cleanup: true diff --git a/scripts/setup_linux.sh b/scripts/setup_linux.sh new file mode 100644 index 0000000..12c56cc --- /dev/null +++ b/scripts/setup_linux.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +sudo apt-get update +sudo apt-get install -y python3.5 python3-pip libgtk-3-dev diff --git a/scripts/setup_osx.sh b/scripts/setup_osx.sh new file mode 100644 index 0000000..f1f641a --- /dev/null +++ b/scripts/setup_osx.sh @@ -0,0 +1 @@ +#!/usr/bin/env bash diff --git a/scripts/setup_windows.sh b/scripts/setup_windows.sh new file mode 100644 index 0000000..27b0e98 --- /dev/null +++ b/scripts/setup_windows.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +choco install python |