mirror of https://github.com/kivy/kivy.git
fix `make test` for travis 💥
This commit is contained in:
parent
204f0f9e78
commit
70d6fc00a7
34
.travis.yml
34
.travis.yml
|
@ -1,39 +1,39 @@
|
|||
language: python
|
||||
|
||||
python:
|
||||
- "2.7"
|
||||
- "3.4"
|
||||
# command to install dependencies
|
||||
- 2.7
|
||||
- 3.4
|
||||
|
||||
before_install:
|
||||
- export PYTHONPATH=$PYTHONPATH:$(pwd)
|
||||
- yes | sudo add-apt-repository ppa:zoogie/sdl2-snapshots
|
||||
- yes | sudo add-apt-repository ppa:gstreamer-developers/ppa
|
||||
- sudo apt-get update
|
||||
- sudo apt-get install libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libsdl2-mixer-dev
|
||||
- sudo apt-get install python-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev libsmpeg-dev python-numpy libportmidi-dev ffmpeg libswscale-dev libavformat-dev libavcodec-dev libjpeg-dev libtiff4-dev libx11-6 libX11-dev libmtdev-dev
|
||||
- sudo apt-get install python-setuptools python-opengl libgstreamer1.0-dev gstreamer1.0-pulseaudio gstreamer1.0-tools gstreamer1.0-plugins-good build-essential libgl1-mesa-dev libgles2-mesa-dev mercurial
|
||||
- sudo apt-get install xvfb
|
||||
|
||||
install:
|
||||
- pip install hg+http://bitbucket.org/pygame/pygame
|
||||
- pip install --upgrade cython pillow nose coverage
|
||||
- pip install sphinxcontrib-blockdiag sphinxcontrib-seqdiag
|
||||
- pip install sphinxcontrib-actdiag sphinxcontrib-nwdiag
|
||||
- make
|
||||
- make html
|
||||
- sudo apt-get install libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libsdl2-mixer-dev
|
||||
- sudo apt-get install libgstreamer1.0-dev gstreamer1.0-alsa gstreamer1.0-plugins-base
|
||||
- sudo apt-get install python-dev libsmpeg-dev libswscale-dev libavformat-dev libavcodec-dev libjpeg-dev libtiff4-dev libx11-6 libX11-dev libmtdev-dev
|
||||
- sudo apt-get install python-setuptools python-opengl build-essential libgl1-mesa-dev libgles2-mesa-dev
|
||||
|
||||
- sudo apt-get install xvfb pulseaudio
|
||||
- pip install -U cython pillow nose coverage
|
||||
- pip install -U sphinxcontrib-blockdiag sphinxcontrib-seqdiag sphinxcontrib-actdiag sphinxcontrib-nwdiag
|
||||
|
||||
before_script:
|
||||
- export DISPLAY=:99.0
|
||||
- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1280x720x24 -ac +extension GLX
|
||||
- export PYTHONPATH=$PYTHONPATH:$(pwd)
|
||||
|
||||
# command to run tests
|
||||
script:
|
||||
- make style
|
||||
# - make test
|
||||
- make html
|
||||
- make
|
||||
- make test
|
||||
|
||||
notifications:
|
||||
irc:
|
||||
channels:
|
||||
- "chat.freenode.net#kivy-dev"
|
||||
- chat.freenode.net#kivy-dev
|
||||
on_success: change
|
||||
on_failure: change
|
||||
use_notice: true
|
||||
|
|
Loading…
Reference in New Issue