From 10fc8688e7392dd3b7560d38c582937c7e0204dd Mon Sep 17 00:00:00 2001 From: Michael Writhe Date: Fri, 12 Oct 2012 08:14:15 -0600 Subject: [PATCH 1/3] inital commit to utilize the travis-ci --- .travis.yml | 25 +++++++++++++++++++++++++ README.rst | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..6077e33 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,25 @@ +language: python +python: + # we will add support for this in future. currently 2.6 via travis is unsupported. + #- "2.6" + - "2.7" +install: + - sudo apt-get install -qq python-imaging python-dev python-numpy python-numpy-dev + - pip install -q pillow + - pip install -q numpy + - python setup.py build +before_script: + - git clone git://github.com/overviewer/Minecraft-Overviewer-Addons.git ~/mca/ + - wget -N http://s3.amazonaws.com/MinecraftDownload/minecraft.jar -P ~/.minecraft/bin/ +script: + - python overviewer.py ~/mca/exmaple ~/test-output --rendermodes=smooth-lighting +notifications: + irc: + channels: "irc.freenode.org#overviewer" + on_success: always + on_failure: always + email: false +branches: + only: + - master + - travis \ No newline at end of file diff --git a/README.rst b/README.rst index b273969..808922f 100644 --- a/README.rst +++ b/README.rst @@ -1,5 +1,5 @@ ==================== -Minecraft Overviewer +Minecraft Overviewer [![Build Status](https://secure.travis-ci.org/overviewer/Minecraft-Overviewer.png)](http://travis-ci.org/overviewer/Minecraft-Overviewer) ==================== By Andrew Brown and contributors (see CONTRIBUTORS.rst). From 307cb6006e9598c29137404090893079dc1c9511 Mon Sep 17 00:00:00 2001 From: Michael Writhe Date: Fri, 12 Oct 2012 08:40:48 -0600 Subject: [PATCH 2/3] Fix the readme to show travis icon --- README.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 808922f..ba0a42f 100644 --- a/README.rst +++ b/README.rst @@ -1,5 +1,5 @@ ==================== -Minecraft Overviewer [![Build Status](https://secure.travis-ci.org/overviewer/Minecraft-Overviewer.png)](http://travis-ci.org/overviewer/Minecraft-Overviewer) +Minecraft Overviewer |Build Status| ==================== By Andrew Brown and contributors (see CONTRIBUTORS.rst). @@ -82,3 +82,4 @@ https://github.com/overviewer/Minecraft-Overviewer/issues Feel free to comment on issues, report new issues, and vote on issues that are important to you. +.. |Build Status| image:: https://secure.travis-ci.org/overviewer/Minecraft-Overviewer.png \ No newline at end of file From 6f4bfebff1cbaef9785878ca62656e8e47314a30 Mon Sep 17 00:00:00 2001 From: Michael Writhe Date: Fri, 12 Oct 2012 08:56:50 -0600 Subject: [PATCH 3/3] travis: removed notifications and whitelist --- .travis.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6077e33..a30290e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,12 +14,4 @@ before_script: script: - python overviewer.py ~/mca/exmaple ~/test-output --rendermodes=smooth-lighting notifications: - irc: - channels: "irc.freenode.org#overviewer" - on_success: always - on_failure: always - email: false -branches: - only: - - master - - travis \ No newline at end of file + email: false \ No newline at end of file