aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2019-02-26 22:09:00 -0700
committerMelody Horn <melody@boringcactus.com>2019-02-26 22:09:00 -0700
commite43bd093835c8e9f15191db2eaa420c694800e4f (patch)
tree28b25f08643b476f241b3556f77148d02b81c33d
parent410a1416157afd78d2e3ddafcb44ca9584847a0e (diff)
downloadvidslice-e43bd093835c8e9f15191db2eaa420c694800e4f.tar.gz
vidslice-e43bd093835c8e9f15191db2eaa420c694800e4f.zip
actually install python across all platforms
-rw-r--r--.travis.yml13
-rw-r--r--scripts/setup_linux.sh3
-rw-r--r--scripts/setup_osx.sh1
-rw-r--r--scripts/setup_windows.sh2
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