forked from Kautenja/nes-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
74 lines (74 loc) · 3.3 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
---
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.9 on Ubuntu 16.04"
python: 3.9
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.9 on Ubuntu 18.04"
python: 3.9
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