mirror of
https://github.com/danog/blackfriday.git
synced 2024-12-03 09:57:57 +01:00
Use the same .travis.yml on master and v2
This commit is contained in:
parent
3420fef033
commit
4f4b33ba91
27
.travis.yml
27
.travis.yml
@ -1,18 +1,17 @@
|
|||||||
# Travis CI (http://travis-ci.org/) is a continuous integration service for
|
sudo: false
|
||||||
# open source projects. This file configures it to run unit tests for
|
|
||||||
# blackfriday.
|
|
||||||
|
|
||||||
language: go
|
language: go
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.5
|
- "1.9.x"
|
||||||
- 1.6
|
- "1.10.x"
|
||||||
- 1.7
|
- tip
|
||||||
|
matrix:
|
||||||
|
fast_finish: true
|
||||||
|
allow_failures:
|
||||||
|
- go: tip
|
||||||
install:
|
install:
|
||||||
- go get -d -t -v ./...
|
- # Do nothing. This is needed to prevent default install action "go get -t -v ./..." from happening here (we want it to happen inside script step).
|
||||||
- go build -v ./...
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- go test -v ./...
|
- go get -t -v ./...
|
||||||
- go test -run=^$ -bench=BenchmarkReference -benchmem
|
- diff -u <(echo -n) <(gofmt -d -s .)
|
||||||
|
- go tool vet .
|
||||||
|
- go test -v -race ./...
|
||||||
|
Loading…
Reference in New Issue
Block a user