加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.31 KB
一键复制 编辑 原始数据 按行查看 历史
拾星 提交于 2019-04-10 17:53 . update travis ubuntu version to 16.04
language: go
go_import_path: github.com/vntchain/go-vnt
sudo: false
notifications: always
matrix:
include:
- stage: Build & Test on linux go1.10.x
os: linux
dist: trusty
sudo: required
go: 1.10.x
before_install:
- sudo modprobe fuse
- sudo chmod 666 /dev/fuse
- sudo chown root:$USER /etc/fuse.conf
script:
- make test
# These are the latest Go versions.
- stage: Build & Test on linux go1.11.x
if: branch = master
os: linux
dist: xenial
sudo: required
go: 1.11.x
before_install:
- sudo modprobe fuse
- sudo chmod 666 /dev/fuse
- sudo chown root:$USER /etc/fuse.conf
script:
- make test
- stage: Build & Test on OSX
if: branch = master
os: osx
go: 1.11.x
before_install:
- echo "Increase the maximum number of open file descriptors on macOS"
- NOFILE=20480
- sudo sysctl -w kern.maxfiles=$NOFILE
- sudo sysctl -w kern.maxfilesperproc=$NOFILE
- sudo launchctl limit maxfiles $NOFILE $NOFILE
- sudo launchctl limit maxfiles
- ulimit -S -n $NOFILE
- ulimit -n
- unset -f cd # workaround for https://github.com/travis-ci/travis-ci/issues/8703
script:
- make test
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化