Skip to content

Commit c817559

Browse files
committed
Add travis settings
1 parent e4f9163 commit c817559

File tree

2 files changed

+74
-0
lines changed

2 files changed

+74
-0
lines changed

.travis.yml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
2+
language: go
3+
4+
go:
5+
- "1.x"
6+
- "1.8"
7+
- "1.10.x"
8+
- master
9+
10+
install:
11+
- go get -v github.com/Masterminds/glide
12+
- cd $GOPATH/src/github.com/Masterminds/glide && git checkout tags/0.10.2 && go install && cd -
13+
- glide install
14+
15+
matrix:
16+
fast_finish: true
17+
include:
18+
# Master channel.
19+
# All *nix releases are done on the Master channel to take advantage
20+
# of the regex library's multiple pattern SIMD search.
21+
- os: linux
22+
go: master
23+
env: TARGET=i686-unknown-linux-musl
24+
- os: linux
25+
go: master
26+
env: TARGET=x86_64-unknown-linux-musl
27+
- os: osx
28+
go: master
29+
# XML_CATALOG_FILES is apparently necessary for asciidoc on macOS.
30+
env: TARGET=x86_64-apple-darwin XML_CATALOG_FILES=/usr/local/etc/xml/catalog
31+
- os: linux
32+
go: master
33+
env: TARGET=arm-unknown-linux-gnueabihf GCC_VERSION=4.8
34+
addons:
35+
apt:
36+
packages:
37+
- gcc-4.8-arm-linux-gnueabihf
38+
- binutils-arm-linux-gnueabihf
39+
- libc6-armhf-cross
40+
- libc6-dev-armhf-cross
41+
# For generating man page.
42+
- libxslt1-dev
43+
- asciidoc
44+
- docbook-xsl
45+
- xsltproc
46+
- libxml2-utils
47+
# Minimum Rust supported channel. We enable these to make sure ripgrep
48+
# continues to work on the advertised minimum Rust version.
49+
- os: linux
50+
go: 1.8
51+
env: TARGET=x86_64-unknown-linux-gnu
52+
- os: linux
53+
go: 1.8
54+
env: TARGET=x86_64-unknown-linux-musl
55+
- os: linux
56+
go: 1.8
57+
env: TARGET=arm-unknown-linux-gnueabihf GCC_VERSION=4.8
58+
addons:
59+
apt:
60+
packages:
61+
- gcc-4.8-arm-linux-gnueabihf
62+
- binutils-arm-linux-gnueabihf
63+
- libc6-armhf-cross
64+
- libc6-dev-armhf-cross
65+
# For generating man page.
66+
- libxslt1-dev
67+
- asciidoc
68+
- docbook-xsl
69+
- xsltproc
70+
- libxml2-utils
71+
notifications:
72+
email:
73+
on_success: never

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
[![tag](https://img.shields.io/github/tag/TeaEntityLab/fpGo.svg)](https://github.com/TeaEntityLab/fpGo)
44
[![Go Report Card](https://goreportcard.com/badge/github.com/TeaEntityLab/fpGo)](https://goreportcard.com/report/github.com/TeaEntityLab/fpGo)
55
[![cover.run](https://cover.run/go/github.com/TeaEntityLab/fpGo.svg?style=flat&tag=golang-1.10)](https://cover.run/go?tag=golang-1.10&repo=github.com%2FTeaEntityLab%2FfpGo)
6+
[![Travis CI Build Status](https://api.travis-ci.org/TeaEntityLab/fpGo.svg?branch=master)](https://travis-ci.org/TeaEntityLab/fpGo)
67
[![GoDoc](https://godoc.org/github.com/TeaEntityLab/fpGo?status.svg)](https://godoc.org/github.com/TeaEntityLab/fpGo)
78

89
[![license](https://img.shields.io/github/license/TeaEntityLab/fpGo.svg?style=social&label=License)](https://github.com/TeaEntityLab/fpGo)

0 commit comments

Comments
 (0)