加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 2.33 KB
一键复制 编辑 原始数据 按行查看 历史
Kautenja 提交于 2020-06-16 16:04 . fix
---
language: python # this works for Linux but is an error on macOS or Windows
matrix:
include:
- name: "Python 3.5 on Ubuntu 14.04"
python: 3.5
dist: trusty
before_install: pip3 install scons
- name: "Python 3.6 on Ubuntu 14.04"
python: 3.6
dist: trusty
before_install: pip3 install scons
- name: "Python 3.5 on Ubuntu 16.04"
python: 3.5
dist: xenial
before_install: pip3 install scons
- name: "Python 3.6 on Ubuntu 16.04"
python: 3.6
dist: xenial
before_install: pip3 install scons
- name: "Python 3.7 on Ubuntu 16.04"
python: 3.7
dist: xenial
before_install: pip3 install scons
- name: "Python 3.8 on Ubuntu 16.04"
python: 3.8
dist: xenial
before_install:
- sudo apt-get install libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsmpeg-dev libsdl1.2-dev libportmidi-dev libswscale-dev libavformat-dev libavcodec-dev libtiff5-dev libx11-6 libx11-dev fluid-soundfont-gm timgm6mb-soundfont xfonts-base xfonts-100dpi xfonts-75dpi xfonts-cyrillic fontconfig fonts-freefont-ttf libfreetype6-dev
- pip3 install scons
- name: "Python 3.5 on Ubuntu 18.04"
python: 3.5
dist: bionic
before_install: pip3 install scons
- name: "Python 3.6 on Ubuntu 18.04"
python: 3.6
dist: bionic
before_install: pip3 install scons
- name: "Python 3.7 on Ubuntu 18.04"
python: 3.7
dist: bionic
before_install: pip3 install scons
- name: "Python 3.8 on Ubuntu 18.04"
python: 3.8
dist: bionic
before_install:
- sudo apt-get install libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsmpeg-dev libsdl1.2-dev libportmidi-dev libswscale-dev libavformat-dev libavcodec-dev libtiff5-dev libx11-6 libx11-dev fluid-soundfont-gm timgm6mb-soundfont xfonts-base xfonts-100dpi xfonts-75dpi xfonts-cyrillic fontconfig fonts-freefont-ttf libfreetype6-dev
- pip3 install scons
- name: "Python 3.7 on macOS 10.14 (Xcode 10.2)"
os: osx
osx_image: xcode10.2
language: shell
before_install: brew install scons
install:
- pip3 install -r requirements.txt
script:
- scons -C nes_py/nes
- mv nes_py/nes/lib_nes_env*.so nes_py
- python3 -m unittest discover .
- python3 setup.py sdist bdist_wheel
notifications:
email: false
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化