From d8156e0d5aa3461344fd2234bddde70660d24d38 Mon Sep 17 00:00:00 2001 From: Leroy Hopson Date: Sun, 10 May 2020 17:23:58 +1200 Subject: [PATCH] Travis CI integration --- .gutconfig.json | 20 ++++++++++++++++++++ .travis.yml | 8 ++++++++ README.md | 2 +- 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 .gutconfig.json create mode 100644 .travis.yml diff --git a/.gutconfig.json b/.gutconfig.json new file mode 100644 index 0000000..6740d6d --- /dev/null +++ b/.gutconfig.json @@ -0,0 +1,20 @@ +{ + "dirs": [ "res://test" ], + "disable_colors": false, + "double_strategy": "partial", + "ignore_pause": false, + "include_subdirs": true, + "inner_class": "", + "log_level": 1, + "opacity": 100, + "post_run_script": "", + "pre_run_script": "", + "prefix": "test_", + "selected": "", + "should_exit": true, + "should_exit_on_success": false, + "should_maximize": false, + "suffix": ".gd", + "tests": [], + "unit_test_name": "" +} diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..8d9c1c6 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,8 @@ +services: +- docker + +install: +- docker pull barichello/godot-ci + +script: +- docker run -v $(pwd):/src barichello/godot-ci godot --path /src -s addons/gut/gut_cmdln.gd diff --git a/README.md b/README.md index 5eb2193..8a8ab21 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ # GodotXterm -[![Build Status](https://travis-ci.org/lihop/godot-xterm.svg?branch=master)](https://travis-ci.com/lihop/godot-xterm) +[![Build Status](https://travis-ci.org/lihop/godot-xterm.svg?branch=master)](https://travis-ci.org/lihop/godot-xterm) ![Version](https://img.shields.io/badge/version-0.1.0-orange.svg) ![Godot Version](https://img.shields.io/badge/godot-3.2+-blue.svg) ![License](https://img.shields.io/badge/license-MIT-green.svg)