2012-10-12 14:14:15 +00:00
|
|
|
language: python
|
2019-07-29 14:55:28 +00:00
|
|
|
dist: xenial
|
2012-10-12 14:14:15 +00:00
|
|
|
python:
|
2019-03-17 17:08:03 +00:00
|
|
|
- "3.5"
|
|
|
|
- "3.6"
|
2019-03-21 14:29:41 +00:00
|
|
|
- "3.7"
|
2020-02-12 19:48:08 +00:00
|
|
|
- "3.8"
|
2021-06-10 15:24:49 +00:00
|
|
|
- "3.9"
|
2013-07-25 09:55:58 +00:00
|
|
|
env:
|
2022-06-23 13:13:08 +00:00
|
|
|
- MC_VERSION=1.19
|
2015-08-15 22:37:18 +00:00
|
|
|
before_install:
|
2018-02-23 01:01:59 +00:00
|
|
|
- wget https://raw.githubusercontent.com/python-pillow/Pillow/master/src/libImaging/Imaging.h
|
2018-02-23 01:04:52 +00:00
|
|
|
- wget https://raw.githubusercontent.com/python-pillow/Pillow/master/src/libImaging/ImagingUtils.h
|
2018-02-23 01:01:59 +00:00
|
|
|
- wget https://raw.githubusercontent.com/python-pillow/Pillow/master/src/libImaging/ImPlatform.h
|
2012-10-12 14:14:15 +00:00
|
|
|
install:
|
|
|
|
- pip install -q pillow
|
|
|
|
- pip install -q numpy
|
2019-03-30 11:57:23 +00:00
|
|
|
- pip install -q networkx
|
2019-07-24 15:02:39 +00:00
|
|
|
- pip install -q pytest
|
2019-03-17 17:08:03 +00:00
|
|
|
- python3 setup.py build
|
2012-10-12 14:14:15 +00:00
|
|
|
before_script:
|
2012-10-12 16:18:12 +00:00
|
|
|
- git clone git://github.com/overviewer/Minecraft-Overviewer-Addons.git ~/mcoa/
|
2018-08-07 13:28:05 +00:00
|
|
|
- mkdir -p ~/.minecraft/versions/${MC_VERSION}/
|
2019-04-26 02:11:49 +00:00
|
|
|
- wget -N https://overviewer.org/textures/${MC_VERSION} -O ~/.minecraft/versions/${MC_VERSION}/${MC_VERSION}.jar
|
2012-10-12 14:14:15 +00:00
|
|
|
script:
|
2019-07-24 15:02:39 +00:00
|
|
|
- pytest
|
2019-03-17 17:08:03 +00:00
|
|
|
- python3 overviewer.py ~/mcoa/exmaple ~/test-output --rendermodes=smooth-lighting -p1
|
2012-10-12 14:14:15 +00:00
|
|
|
notifications:
|
2012-10-12 16:18:12 +00:00
|
|
|
email: false
|