diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..bef75a2 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,21 @@ +language: go +sudo: false +addons: + apt: + packages: + - xorg-dev + - libx11-dev + - libxrandr-dev + - libxinerama-dev + - libxcursor-dev + - libxi-dev +go: +- 1.8 +- 1.7.4 +- tip +install: +- go get -t ./... +script: +- go test -i -race ./... +- go test -v -race ./... + diff --git a/README.md b/README.md index e1553de..80496a6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -# Pixel [![GoDoc](https://godoc.org/github.com/faiface/pixel?status.svg)](https://godoc.org/github.com/faiface/pixel) [![Go Report Card](https://goreportcard.com/badge/github.com/faiface/pixel)](https://goreportcard.com/report/github.com/faiface/pixel) [![Join the chat at https://gitter.im/pixellib/Lobby](https://badges.gitter.im/pixellib/Lobby.svg)](https://gitter.im/pixellib/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +# Pixel [![Build Status](https://travis-ci.org/faiface/pixel.svg?branch=master)](https://travis-ci.org/faiface/pixel) [![GoDoc](https://godoc.org/github.com/faiface/pixel?status.svg)](https://godoc.org/github.com/faiface/pixel) [![Go Report Card](https://goreportcard.com/badge/github.com/faiface/pixel)](https://goreportcard.com/report/github.com/faiface/pixel) [![Join the chat at https://gitter.im/pixellib/Lobby](https://badges.gitter.im/pixellib/Lobby.svg)](https://gitter.im/pixellib/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) + A hand-crafted 2D game library in Go. Take a look into the [features](#features) to see what it can do.