Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
d8074d9b
Commit
d8074d9b
authored
Nov 13, 2018
by
madengji
Committed by
33cn
Nov 14, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add deploy
parent
4dfaefcb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
2 deletions
+31
-2
.travis.yml
.travis.yml
+31
-2
No files found.
.travis.yml
View file @
d8074d9b
language
:
go
go_import_path
:
github.com/33cn/plugin
sudo
:
false
sudo
:
required
services
:
-
docker
env
:
-
DOCKER_COMPOSE_VERSION=1.21.2
before_install
:
-
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
-
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
-
sudo apt-get update
-
sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
-
sudo rm /usr/local/bin/docker-compose
-
curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
-
chmod +x docker-compose
-
sudo mv docker-compose /usr/local/bin
notifications
:
email
:
false
jobs
:
include
:
-
stage
:
test
sudo
:
require
install
:
install
:
skip
- go get -u golang.org/x/tools/cmd/goimports
- go get -u gopkg.in/alecthomas/gometalinter.v2
- gometalinter.v2 -i
...
...
@@ -22,4 +36,19 @@ jobs:
-
make checkgofmt
-
make fmt_go
-
make linter
script
:
-
make test
script
:
-
make coverage
script
:
-
make build_ci
-
make docker-compose PROJ=deploy DAPP=all
-
make docker-compose-down PROJ=deploy DAPP=all
script
:
-
make build_ci
-
make docker-compose PROJ=relay DAPP=relay
-
make docker-compose-down PROJ=relay DAPP=relay
script
:
-
make build_ci
-
make docker-compose PROJ=paracross DAPP=paracross
-
make docker-compose-down PROJ=paracross DAPP=paracross
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment