0

travis: move to Python 3

This commit is contained in:
Nicolas F
2019-03-17 18:08:03 +01:00
parent e348a548b6
commit 137797cd51

View File

@@ -1,8 +1,8 @@
language: python language: python
python: python:
# - "2.6" - "3.4"
- "2.7" - "3.5"
# - "3.2" - "3.6"
env: env:
- MC_VERSION=1.13 - MC_VERSION=1.13
before_install: before_install:
@@ -12,14 +12,14 @@ before_install:
install: install:
- pip install -q pillow - pip install -q pillow
- pip install -q numpy - pip install -q numpy
- python setup.py build - python3 setup.py build
before_script: before_script:
- git clone git://github.com/overviewer/Minecraft-Overviewer-Addons.git ~/mcoa/ - git clone git://github.com/overviewer/Minecraft-Overviewer-Addons.git ~/mcoa/
- mkdir -p ~/.minecraft/versions/${MC_VERSION}/ - mkdir -p ~/.minecraft/versions/${MC_VERSION}/
- wget -N https://launcher.mojang.com/mc/game/1.13/client/c0b970952cdd279912da384cdbfc0c26e6c6090b/client.jar -O ~/.minecraft/versions/${MC_VERSION}/${MC_VERSION}.jar - wget -N https://launcher.mojang.com/mc/game/1.13/client/c0b970952cdd279912da384cdbfc0c26e6c6090b/client.jar -O ~/.minecraft/versions/${MC_VERSION}/${MC_VERSION}.jar
script: script:
- PYTHONPATH=. python test/test_all.py - PYTHONPATH=. python3 test/test_all.py
- python overviewer.py ~/mcoa/exmaple ~/test-output --rendermodes=smooth-lighting -p1 - python3 overviewer.py ~/mcoa/exmaple ~/test-output --rendermodes=smooth-lighting -p1
notifications: notifications:
email: false email: false
# matrix: # matrix: