travis: move to Python 3
This commit is contained in:
12
.travis.yml
12
.travis.yml
@@ -1,8 +1,8 @@
|
||||
language: python
|
||||
python:
|
||||
# - "2.6"
|
||||
- "2.7"
|
||||
# - "3.2"
|
||||
- "3.4"
|
||||
- "3.5"
|
||||
- "3.6"
|
||||
env:
|
||||
- MC_VERSION=1.13
|
||||
before_install:
|
||||
@@ -12,14 +12,14 @@ before_install:
|
||||
install:
|
||||
- pip install -q pillow
|
||||
- pip install -q numpy
|
||||
- python setup.py build
|
||||
- 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://launcher.mojang.com/mc/game/1.13/client/c0b970952cdd279912da384cdbfc0c26e6c6090b/client.jar -O ~/.minecraft/versions/${MC_VERSION}/${MC_VERSION}.jar
|
||||
script:
|
||||
- PYTHONPATH=. python test/test_all.py
|
||||
- python overviewer.py ~/mcoa/exmaple ~/test-output --rendermodes=smooth-lighting -p1
|
||||
- PYTHONPATH=. python3 test/test_all.py
|
||||
- python3 overviewer.py ~/mcoa/exmaple ~/test-output --rendermodes=smooth-lighting -p1
|
||||
notifications:
|
||||
email: false
|
||||
# matrix:
|
||||
|
||||
Reference in New Issue
Block a user