5 Star 8 Fork 6

Gitee 极速下载/bigfile-go

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/bigfile/bigfile
克隆/下载
.travis.yml 1.63 KB
一键复制 编辑 原始数据 按行查看 历史
zhangjiahao93 提交于 2019-09-30 17:17 . Img convert (#40)
dist: bionic
sudo: required
language: go
addons:
apt:
packages:
- rpm
- snapd
branches:
only:
- master
- /v\d+\.\d+\.\d+[-\.0-9a-zA-Z]*/
services:
- mysql
- docker
matrix:
fast_finish: true
include:
- go: 1.12.x
env:
global:
- GO111MODULE=on
- BIGFILE_DEFAULT_DB_USER=root
- BIGFILE_DEFAULT_DB_PWD=
- BIGFILE_MODE=dev
- PATH=/snap/bin:$PATH
before_install:
- if [[ "${GO111MODULE}" = "on" ]]; then mkdir "${HOME}/go"; export GOPATH="${HOME}/go"; fi
- if [[ "${GO111MODULE}" = "on" ]]; then export PATH="${GOPATH}/bin:${GOROOT}/bin:${PATH}"; fi
- go get -u github.com/mgechev/revive
install:
- if [[ "${GO111MODULE}" = "on" ]]; then go mod download; fi
- sudo snap install snapcraft --classic
- sudo apt-get install libgraphicsmagick1-dev
go_import_path: github.com/bigfile/bigfile
before_script:
- mysql -e 'CREATE DATABASE IF NOT EXISTS bigfile;'
- go run artisan/bigfile.go --db-pass= migrate:refresh
script:
- diff <(revive ./...) <(printf "")
- go test -race -coverprofile=coverage.txt -covermode=atomic ./...
after_success:
- bash <(curl -s https://codecov.io/bash)
- test -n "$TRAVIS_TAG" && docker login -u=bigfile -p="$DOCKER_PASSWORD"
- test -n "$TRAVIS_TAG" && openssl aes-256-cbc -K $encrypted_27812f9c1870_key -iv $encrypted_27812f9c1870_iv -in snap.login.enc -out snap.login -d
- test -n "$TRAVIS_TAG" && snapcraft login --with snap.login
deploy:
- provider: script
skip_cleanup: true
script: bash .scripts/goreleaser.sh
on:
tags: true
condition: $TRAVIS_OS_NAME = linux
all_branches: true
notifications:
email: false
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/bigfile-go.git
[email protected]:mirrors/bigfile-go.git
mirrors
bigfile-go
bigfile-go
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385