Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小七de尾巴
Abc-imp
提交
28ef19e3
A
Abc-imp
项目概览
小七de尾巴
/
Abc-imp
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
Abc-imp
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
28ef19e3
编写于
6月 13, 2019
作者:
J
Jeet Parekh
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
initial commit for windows
上级
672273e6
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
69 addition
and
52 deletion
+69
-52
.travis.yml
.travis.yml
+69
-52
未找到文件。
.travis.yml
浏览文件 @
28ef19e3
...
...
@@ -11,64 +11,81 @@ install: true
jobs
:
include
:
-
name
:
linux
os
:
linux
dist
:
xenial
sudo
:
required
#
- name: linux
#
os: linux
#
dist: xenial
#
sudo: required
before_install
:
-
wget https://github.com/neo4j-drivers/seabolt/releases/download/v1.7.4/seabolt-1.7.4-Linux-ubuntu-16.04.deb
-
sudo dpkg -i seabolt-1.7.4-Linux-ubuntu-16.04.deb
-
sudo apt-get install -y libssl-dev build-essential
-
go get github.com/neo4j/neo4j-go-driver/neo4j
-
go get gopkg.in/olivere/elastic.v7
-
go get github.com/appbaseio/abc ||
true
-
mkdir private
-
git clone https://$PAT@github.com/appbaseio-confidential/abc-import private
#
before_install:
#
- wget https://github.com/neo4j-drivers/seabolt/releases/download/v1.7.4/seabolt-1.7.4-Linux-ubuntu-16.04.deb
#
- sudo dpkg -i seabolt-1.7.4-Linux-ubuntu-16.04.deb
#
- sudo apt-get install -y libssl-dev build-essential
#
- go get github.com/neo4j/neo4j-go-driver/neo4j
#
- go get gopkg.in/olivere/elastic.v7
#
- go get github.com/appbaseio/abc || true
#
- mkdir private
#
- git clone https://$PAT@github.com/appbaseio-confidential/abc-import private
script
:
-
go build -tags 'seabolt_static !oss' -o "abc-linux" ./cmd/abc/...
# script:
# - go build -tags 'seabolt_static !oss' -o "abc-linux" ./cmd/abc/...
# before_deploy:
# - zip -r abc-linux.zip abc-linux
# - export TRAVIS_TAG="preview"
# deploy:
# provider: releases
# api_key: $PAT
# skip_cleanup: true
# file: abc-linux.zip
# draft: true
# on:
# all_branches: true
# - name: macos
# os: osx
# osx_image: xcode10.2
# before_install:
# - curl -LO https://github.com/neo4j-drivers/seabolt/releases/download/v1.7.4/seabolt-1.7.4-Darwin.tar.gz
# - tar -zxf seabolt-1.7.4-Darwin.tar.gz
# - export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:`pwd`/seabolt-1.7.4-Darwin/usr/local/share/pkgconfig
# - export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:`pwd`/seabolt-1.7.4-Darwin/usr/local/lib
# - go get github.com/neo4j/neo4j-go-driver/neo4j
# - go get gopkg.in/olivere/elastic.v7
# - go get github.com/appbaseio/abc || true
# - mkdir private
# - git clone https://$PAT@github.com/appbaseio-confidential/abc-import private
# script:
# - go build -tags 'seabolt_static !oss' -o "abc-darwin" ./cmd/abc/...
before_deploy
:
-
zip -r abc-linux.zip abc-linux
-
export TRAVIS_TAG="preview"
#
before_deploy:
# - zip -r abc-darwin.zip abc-darwin
#
- export TRAVIS_TAG="preview"
deploy
:
provider
:
releases
api_key
:
$PAT
skip_cleanup
:
true
file
:
abc-linux
.zip
draft
:
true
on
:
all_branches
:
true
#
deploy:
#
provider: releases
#
api_key: $PAT
#
skip_cleanup: true
# file: abc-darwin
.zip
#
draft: true
#
on:
#
all_branches: true
-
name
:
macos
os
:
osx
osx_image
:
xcode10.2
-
name
:
windows
os
:
windows
before_install
:
-
curl -LO http
s://github.com/neo4j-drivers/seabolt/releases/download/v1.7.4/seabolt-1.7.4-Darwin.tar.gz
-
tar -zxf seabolt-1.7.4-Darwin.tar.gz
-
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:`pwd`/seabolt-1.7.4-Darwin/usr/local/share/pkgconfig
-
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:`pwd`/seabolt-1.7.4-Darwin/usr/local/lib
-
go get github.com/neo4j/neo4j-go-driver/neo4j
-
go get gopkg.in/olivere/elastic.v7
-
go get github.com/appbaseio/abc ||
true
-
mkdir private
-
git clone https://$PAT@github.com/appbaseio-confidential/abc-import private
-
curl -LO http
://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.26-1_win32.zip
-
curl -LO http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.28/glib_2.28.8-1_win32.zip
-
curl -LO http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime_0.18.1.1-2_win32.zip
-
7z x -opkg-config pkg-config_0.26-1_win32.zip
-
7z x -oglib glib_2.28.8-1_win32.zip
-
7z x -ogettext gettext-runtime_0.18.1.1-2_win32.zip
-
echo $PATH
-
export PATH=$PATH:`pwd`/glib/bin:`pwd`/gettext/bin:`pwd`/pkg-config/bin
-
echo $PATH
script
:
-
go build -tags 'seabolt_static !oss' -o "abc-darwin" ./cmd/abc/...
before_deploy
:
-
zip -r abc-darwin.zip abc-darwin
-
export TRAVIS_TAG="preview"
deploy
:
provider
:
releases
api_key
:
$PAT
skip_cleanup
:
true
file
:
abc-darwin.zip
draft
:
true
on
:
all_branches
:
true
-
echo $PATH
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录