From 376c9ab82568a0ff341412763c30f02b5f97301b Mon Sep 17 00:00:00 2001 From: m!nus Date: Sun, 31 Jul 2016 15:07:26 +0200 Subject: [PATCH] added circleci build plus badge in the readme --- circle.yml | 18 ++++++++++++++++++ readme.md | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 circle.yml diff --git a/circle.yml b/circle.yml new file mode 100644 index 000000000..c16cd2410 --- /dev/null +++ b/circle.yml @@ -0,0 +1,18 @@ +dependencies: + pre: + - | + sudo apt-get install libsdl2-dev libfreetype6-dev + + if [ ! -d ~/bam ]; then + git clone https://github.com/matricks/bam.git ~/bam + cd ~/bam/ + git reset --hard f012dd9a3e38295b8a45af5a101d29573381f169 + ./make_unix.sh + fi + + cache_directories: + - "~/bam/" + +test: + override: + - ~/bam/bam conf=release all diff --git a/readme.md b/readme.md index 6b7fdbb8c..84a53ee9f 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,4 @@ -Teeworlds +Teeworlds [![CircleCI](https://circleci.com/gh/teeworlds/teeworlds.svg?style=svg)](https://circleci.com/gh/teeworlds/teeworlds) ========= A retro multiplayer shooter