aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml13
1 files changed, 10 insertions, 3 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