mirror of https://github.com/kivy/kivy.git
adjust travis config indentation
This commit is contained in:
parent
8e44b5f258
commit
bbdeea69e1
64
.travis.yml
64
.travis.yml
|
@ -30,20 +30,20 @@ matrix:
|
|||
|
||||
install:
|
||||
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
|
||||
if [ "${RUN}" != "pep8" ]; then
|
||||
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 -y install libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libsdl2-mixer-dev;
|
||||
sudo apt-get -y install libgstreamer1.0-dev gstreamer1.0-alsa gstreamer1.0-plugins-base;
|
||||
sudo apt-get -y install python-dev libsmpeg-dev libswscale-dev libavformat-dev libavcodec-dev libjpeg-dev libtiff4-dev libX11-dev libmtdev-dev;
|
||||
sudo apt-get -y install python-setuptools build-essential libgl1-mesa-dev libgles2-mesa-dev;
|
||||
sudo apt-get -y install xvfb pulseaudio;
|
||||
pip install --upgrade cython pillow nose coveralls;
|
||||
fi;
|
||||
if [ "${RUN}" == "docs" ]; then
|
||||
pip install --upgrade sphinxcontrib-blockdiag sphinxcontrib-seqdiag sphinxcontrib-actdiag sphinxcontrib-nwdiag;
|
||||
fi;
|
||||
if [ "${RUN}" != "pep8" ]; then
|
||||
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 -y install libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libsdl2-mixer-dev;
|
||||
sudo apt-get -y install libgstreamer1.0-dev gstreamer1.0-alsa gstreamer1.0-plugins-base;
|
||||
sudo apt-get -y install python-dev libsmpeg-dev libswscale-dev libavformat-dev libavcodec-dev libjpeg-dev libtiff4-dev libX11-dev libmtdev-dev;
|
||||
sudo apt-get -y install python-setuptools build-essential libgl1-mesa-dev libgles2-mesa-dev;
|
||||
sudo apt-get -y install xvfb pulseaudio;
|
||||
pip install --upgrade cython pillow nose coveralls;
|
||||
fi;
|
||||
if [ "${RUN}" == "docs" ]; then
|
||||
pip install --upgrade sphinxcontrib-blockdiag sphinxcontrib-seqdiag sphinxcontrib-actdiag sphinxcontrib-nwdiag;
|
||||
fi;
|
||||
fi;
|
||||
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
|
||||
curl -O -L https://github.com/tatsuhiro-t/aria2/releases/download/release-1.19.3/aria2-1.19.3-osx-darwin.dmg;
|
||||
|
@ -101,28 +101,28 @@ before_script:
|
|||
|
||||
script:
|
||||
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
|
||||
set -v;
|
||||
if [ "${RUN}" == "unit" ]; then
|
||||
make;
|
||||
make test;
|
||||
fi;
|
||||
if [ "${COVERALLS}" == "true" ] && [ "${TRAVIS_BRANCH}" == "master" ]; then
|
||||
coveralls;
|
||||
fi;
|
||||
if [ "${RUN}" == "pep8" ]; then
|
||||
make style;
|
||||
fi;
|
||||
if [ "${RUN}" == "docs" ]; then
|
||||
make html;
|
||||
fi;
|
||||
set -v;
|
||||
if [ "${RUN}" == "unit" ]; then
|
||||
make;
|
||||
make test;
|
||||
fi;
|
||||
if [ "${COVERALLS}" == "true" ] && [ "${TRAVIS_BRANCH}" == "master" ]; then
|
||||
coveralls;
|
||||
fi;
|
||||
if [ "${RUN}" == "pep8" ]; then
|
||||
make style;
|
||||
fi;
|
||||
if [ "${RUN}" == "docs" ]; then
|
||||
make html;
|
||||
fi;
|
||||
fi;
|
||||
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
|
||||
if [ "${PY}" == "3" ]; then
|
||||
python3 setup.py build_ext --inplace;
|
||||
python3 -m nose.core kivy/tests;
|
||||
python3 setup.py build_ext --inplace;
|
||||
python3 -m nose.core kivy/tests;
|
||||
else
|
||||
make;
|
||||
make test;
|
||||
make;
|
||||
make test;
|
||||
fi;
|
||||
fi;
|
||||
|
||||
|
|
Loading…
Reference in New Issue