From 19d14a90bae534f7039ffb20b78e9b2565827635 Mon Sep 17 00:00:00 2001 From: Max Godfrey <1020167@student.ccgs.wa.edu.au> Date: Sun, 19 Jan 2020 17:21:48 +0800 Subject: [PATCH 1/2] Add travis-ci --- .travis.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..61d0c62 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,15 @@ +language: go + +go: + - "1.10" + - "1.11" + - "1.12" + +go_import_path: github.com/maxgodfrey2004/mines + +install: + - go get -t ./... + - go get github.com/nsf/termbox-go + +script: + - go build -v -o main.exe main.go From 3c653e55c2bd3360b8be3b033993185c41122243 Mon Sep 17 00:00:00 2001 From: Max Godfrey <1020167@student.ccgs.wa.edu.au> Date: Sun, 19 Jan 2020 17:24:53 +0800 Subject: [PATCH 2/2] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 385b3dd..bf36d08 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ -# mines [![Go Report Card](https://goreportcard.com/badge/github.com/maxgodfrey2004/mines)](https://goreportcard.com/report/github.com/maxgodfrey2004/mines) [![Maintainability](https://api.codeclimate.com/v1/badges/259fa9fb2c430a3e0300/maintainability)](https://codeclimate.com/github/maxgodfrey2004/mines/maintainability) - +# mines [![Build Status](https://travis-ci.com/maxgodfrey2004/mines.svg?branch=master)](https://travis-ci.com/maxgodfrey2004/mines) [![Go Report Card](https://goreportcard.com/badge/github.com/maxgodfrey2004/mines)](https://goreportcard.com/report/github.com/maxgodfrey2004/mines) A terminal-based implementation of Minesweeper in Go. ![mines_demo_better](https://user-images.githubusercontent.com/34620214/63650957-eb5e1c00-c782-11e9-94f3-6f5cff5550c0.png)