Skip to content

Instantly share code, notes, and snippets.

@pironic
Created October 11, 2012 20:28
Show Gist options
  • Save pironic/3875266 to your computer and use it in GitHub Desktop.
Save pironic/3875266 to your computer and use it in GitHub Desktop.
language: python
python:
- "2.6"
- "2.7"
env:
- C_INCLUDE_PATH="."
before_install:
- wget -N http://hg.effbot.org/pil-117/raw/f356a1f64271/libImaging/Imaging.h -P ~/builds/pironic/Minecraft-Overviewer/overviewer_core/src/Imaging.h
- wget -N http://hg.effbot.org/pil-117/raw/f356a1f64271/libImaging/ImPlatform.h -P ~/builds/pironic/Minecraft-Overviewer/overviewer_core/src/ImPlatform.h
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:
email: false
branches:
only:
- master
- travis
matrix:
allow_failures:
- python: "2.6"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment