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:
|
install:
|
||||||
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
|
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
|
||||||
if [ "${RUN}" != "pep8" ]; then
|
if [ "${RUN}" != "pep8" ]; then
|
||||||
yes | sudo add-apt-repository ppa:zoogie/sdl2-snapshots;
|
yes | sudo add-apt-repository ppa:zoogie/sdl2-snapshots;
|
||||||
yes | sudo add-apt-repository ppa:gstreamer-developers/ppa;
|
yes | sudo add-apt-repository ppa:gstreamer-developers/ppa;
|
||||||
sudo apt-get update;
|
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 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 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-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 python-setuptools build-essential libgl1-mesa-dev libgles2-mesa-dev;
|
||||||
sudo apt-get -y install xvfb pulseaudio;
|
sudo apt-get -y install xvfb pulseaudio;
|
||||||
pip install --upgrade cython pillow nose coveralls;
|
pip install --upgrade cython pillow nose coveralls;
|
||||||
fi;
|
fi;
|
||||||
if [ "${RUN}" == "docs" ]; then
|
if [ "${RUN}" == "docs" ]; then
|
||||||
pip install --upgrade sphinxcontrib-blockdiag sphinxcontrib-seqdiag sphinxcontrib-actdiag sphinxcontrib-nwdiag;
|
pip install --upgrade sphinxcontrib-blockdiag sphinxcontrib-seqdiag sphinxcontrib-actdiag sphinxcontrib-nwdiag;
|
||||||
fi;
|
fi;
|
||||||
fi;
|
fi;
|
||||||
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
|
- 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;
|
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:
|
script:
|
||||||
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
|
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
|
||||||
set -v;
|
set -v;
|
||||||
if [ "${RUN}" == "unit" ]; then
|
if [ "${RUN}" == "unit" ]; then
|
||||||
make;
|
make;
|
||||||
make test;
|
make test;
|
||||||
fi;
|
fi;
|
||||||
if [ "${COVERALLS}" == "true" ] && [ "${TRAVIS_BRANCH}" == "master" ]; then
|
if [ "${COVERALLS}" == "true" ] && [ "${TRAVIS_BRANCH}" == "master" ]; then
|
||||||
coveralls;
|
coveralls;
|
||||||
fi;
|
fi;
|
||||||
if [ "${RUN}" == "pep8" ]; then
|
if [ "${RUN}" == "pep8" ]; then
|
||||||
make style;
|
make style;
|
||||||
fi;
|
fi;
|
||||||
if [ "${RUN}" == "docs" ]; then
|
if [ "${RUN}" == "docs" ]; then
|
||||||
make html;
|
make html;
|
||||||
fi;
|
fi;
|
||||||
fi;
|
fi;
|
||||||
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
|
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
|
||||||
if [ "${PY}" == "3" ]; then
|
if [ "${PY}" == "3" ]; then
|
||||||
python3 setup.py build_ext --inplace;
|
python3 setup.py build_ext --inplace;
|
||||||
python3 -m nose.core kivy/tests;
|
python3 -m nose.core kivy/tests;
|
||||||
else
|
else
|
||||||
make;
|
make;
|
||||||
make test;
|
make test;
|
||||||
fi;
|
fi;
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue