Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Christnowx
Gephi
提交
26869a43
G
Gephi
项目概览
Christnowx
/
Gephi
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gephi
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
26869a43
编写于
9月 07, 2015
作者:
M
Mathieu Bastian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add Linux configuration to build windows installer on Travis
上级
32094526
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
27 addition
and
7 deletion
+27
-7
.travis.yml
.travis.yml
+17
-1
modules/application/pom.xml
modules/application/pom.xml
+10
-6
未找到文件。
.travis.yml
浏览文件 @
26869a43
...
...
@@ -12,8 +12,24 @@ before_install:
# Install genisoimage (dmg creation tool)
-
sudo apt-get install genisoimage
# Prepare environemnt for Inno Setup
-
sudo add-apt-repository --yes ppa:arx/release
-
sudo apt-get update -d
-
sudo apt-get install -y -q innoextract wine
-
wine --version
-
innoextract --version
install
:
# Install InnoSetup
-
printf "#!/bin/bash\nrm -rf /tmp/inno\nmkdir /tmp/inno\ncd /tmp/inno\nwget -O is.exe http://files.jrsoftware.org/is/5/isetup-5.5.5.exe\ninnoextract is.exe\nmkdir -p ~/\".wine/drive_c/inno\"\ncp -a app/* ~/\".wine/drive_c/inno\"" > innoinstall.sh
-
chmod +x ./innoinstall.sh
-
./innoinstall.sh
-
printf "#!/bin/sh\nunset DISPLAY\nscriptname=$1\n[ -f \"$scriptname\" ] && scriptname=$(winepath -w \"$scriptname\")\nwine \"C:\inno\ISCC.exe\" \"$scriptname\" \"/q\"" > iscc
-
chmod +x ./iscc
-
sudo cp ./iscc /usr/local/bin/iscc
# Setup Maven's settings.xml
-
echo "<settings><servers><server><id>ossrh</id><username>\${env.OSSRH_USER}</username><password>\${env.OSSRH_PASS}</password></server></servers></settings>" > ~/settings.xml
script
:
-
mvn clean install -P deployment,create-dmg --settings ~/settings.xml -Djava.awt.headless=true -Dgpg.skip=true
-
mvn clean install -P deployment,create-dmg
,release-windows
--settings ~/settings.xml -Djava.awt.headless=true -Dgpg.skip=true
modules/application/pom.xml
浏览文件 @
26869a43
...
...
@@ -831,16 +831,16 @@
<!-- Windows-only target that replaces the icon for the launcher exe with our own icon. -->
<target
name=
"replaceWindowsLauncherIcon"
description=
"Replace the icon for the Windows launcher exe"
>
<echo
message=
"Replacing icon of Windows launcher executable."
/>
<exec
dir=
"src/main/app-resources"
executable=
"ReplaceVistaIcon.exe"
resolveexecutable=
"true"
>
<exec
dir=
"src/main/app-resources"
executable=
"ReplaceVistaIcon.exe"
resolveexecutable=
"true"
os=
"Windows"
>
<arg
line=
"${project.build.directory}/${brandingToken}/bin/${brandingToken}.exe gephi.ico 0"
/>
</exec>
<exec
dir=
"src/main/app-resources"
executable=
"ReplaceVistaIcon.exe"
resolveexecutable=
"true"
>
<exec
dir=
"src/main/app-resources"
executable=
"ReplaceVistaIcon.exe"
resolveexecutable=
"true"
os=
"Windows"
>
<arg
line=
"${project.build.directory}/${brandingToken}/bin/${brandingToken}.exe gephifile.ico 1"
/>
</exec>
<exec
dir=
"src/main/app-resources"
executable=
"ReplaceVistaIcon.exe"
resolveexecutable=
"true"
>
<exec
dir=
"src/main/app-resources"
executable=
"ReplaceVistaIcon.exe"
resolveexecutable=
"true"
os=
"Windows"
>
<arg
line=
"${project.build.directory}/${brandingToken}/bin/${brandingToken}64.exe gephi.ico 0"
/>
</exec>
<exec
dir=
"src/main/app-resources"
executable=
"ReplaceVistaIcon.exe"
resolveexecutable=
"true"
>
<exec
dir=
"src/main/app-resources"
executable=
"ReplaceVistaIcon.exe"
resolveexecutable=
"true"
os=
"Windows"
>
<arg
line=
"${project.build.directory}/${brandingToken}/bin/${brandingToken}64.exe gephifile.ico 1"
/>
</exec>
</target>
...
...
@@ -856,9 +856,13 @@
<target>
<delete
file=
"${project.artifactId}-${project.version}.setup.exe"
failonerror=
"false"
/>
<exec
dir=
"${project.build.directory}"
executable=
"${gephi.innosetup.path}/Compil32.exe"
>
<exec
dir=
"${project.build.directory}"
executable=
"${gephi.innosetup.path}/Compil32.exe"
os=
"Windows"
>
<arg
line=
"/cc '${brandingToken}.iss'"
/>
</exec>
</exec>
<exec
dir=
"${project.build.directory}"
executable=
"iscc"
os=
"Linux"
>
<arg
line=
"${brandingToken}.iss"
/>
</exec>
</target>
</configuration>
</execution>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录