Skip to content
Snippets Groups Projects
Commit 58df1501 authored by Holger Nahrstaedt's avatar Holger Nahrstaedt
Browse files

Enable build for linux in travis

parent 0b274e62
No related branches found
No related tags found
No related merge requests found
...@@ -37,6 +37,7 @@ matrix: ...@@ -37,6 +37,7 @@ matrix:
python: 3.6 python: 3.6
env: env:
- TOXENV=py36short - TOXENV=py36short
- BUILD_LINUX=yes
- os: osx - os: osx
osx_image: xcode9.3 osx_image: xcode9.3
language: objective-c language: objective-c
...@@ -65,6 +66,7 @@ script: ...@@ -65,6 +66,7 @@ script:
after_success: after_success:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then bash util/package-osx.sh; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then bash util/package-osx.sh; fi
- if [[ "$BUILD_LINUX" == "yes" ]]; then bash util/package-linux.sh; fi
- coveralls - coveralls
# - codecov # - codecov
# - python-codacy-coverage -r coverage.xml # - python-codacy-coverage -r coverage.xml
#!/usr/bin/env bash
COMM_TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
COMM_COUNT=$(git rev-list --count HEAD)
BUILD="beempy-${COMM_TAG}-${COMM_COUNT}_linux.tar.gz"
rm -rf dist build locale
pip install
python setup.py clean
python setup.py build_ext
# python setup.py build_locales
pip install pyinstaller
pyinstaller beempy-onedir.spec
cd dist
tar -zcvf ${BUILD} beempy
if [ -n "$UPLOAD_LINUX" ]
then
curl --upload-file ${BUILD} https://transfer.sh/
# Required for a newline between the outputs
echo -e "\n"
md5sum ${BUILD}
echo -e "\n"
sha256sum ${BUILD}
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment