0
This repository has been archived on 2025-04-25. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Minecraft-Overviewer/.travis.yml
Nicolas F d2bef52a76 travis: use xenial after all because python 3.5
The bionic image offers no Python 3.5. Since we still want to test
for that, we should stick with Xenial, I guess.
2019-07-29 16:55:28 +02:00

29 lines
960 B
YAML

language: python
dist: xenial
python:
- "3.5"
- "3.6"
- "3.7"
- "3.8-dev"
env:
- MC_VERSION=1.14
before_install:
- wget https://raw.githubusercontent.com/python-pillow/Pillow/master/src/libImaging/Imaging.h
- wget https://raw.githubusercontent.com/python-pillow/Pillow/master/src/libImaging/ImagingUtils.h
- wget https://raw.githubusercontent.com/python-pillow/Pillow/master/src/libImaging/ImPlatform.h
install:
- pip install -q pillow
- pip install -q numpy
- pip install -q networkx
- pip install -q pytest
- python3 setup.py build
before_script:
- git clone git://github.com/overviewer/Minecraft-Overviewer-Addons.git ~/mcoa/
- mkdir -p ~/.minecraft/versions/${MC_VERSION}/
- wget -N https://overviewer.org/textures/${MC_VERSION} -O ~/.minecraft/versions/${MC_VERSION}/${MC_VERSION}.jar
script:
- pytest
- python3 overviewer.py ~/mcoa/exmaple ~/test-output --rendermodes=smooth-lighting -p1
notifications:
email: false