Skip to content

Commit

Permalink
maybe fix travis
Browse files Browse the repository at this point in the history
  • Loading branch information
yatima1460 committed Feb 7, 2020
1 parent 8020f53 commit 0782b75
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ deploy:
on:
repo: yatima1460/Drill
tags: false
branches:
only:
- master

notifications:
email:
Expand Down
12 changes: 10 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,16 @@ def createZips():
'''
You need to install p7zip-full or p7zip and p7zip-plugins
'''
shell("7z a -tzip Output/"+FILENAME_GTK_PRE_NAME+"-v"+DRILL_VERSION+"-"+ARCHITECTURE+".zip ./Build/Drill-GTK-linux-x86_64-release/*")
shell("7z a -tzip Output/"+FILENAME_CLI_PRE_NAME+"-v"+DRILL_VERSION+"-"+ARCHITECTURE+".zip ./Build/Drill-CLI-linux-x86_64-release/*")
if platform == "linux" or platform == "linux2":
OS_NAME = "linux"
elif platform == "darwin":
OS_NAME = "osx"
elif platform == "win32":
OS_NAME = "windows"
else:
OS_NAME = "OS_NOT_SUPPORTED"
shell("7z a -tzip Output/"+FILENAME_GTK_PRE_NAME+"-v"+DRILL_VERSION+"-"+ARCHITECTURE+"-"+OS_NAME+".zip ./Build/Drill-GTK-"+OS_NAME+"-x86_64-release/*")
shell("7z a -tzip Output/"+FILENAME_CLI_PRE_NAME+"-v"+DRILL_VERSION+"-"+ARCHITECTURE+"-"+OS_NAME+".zip ./Build/Drill-CLI-"+OS_NAME+"-x86_64-release/*")
print(".zips created")

def packageDeb():
Expand Down

0 comments on commit 0782b75

Please sign in to comment.