--- /dev/null
+package/ci/travis.yml
\ No newline at end of file
case of Doxygen, comment-out the line that removes the ``html`` directory in
``__init__.py`` to see all test output files.
+The project is built on Travis CI on Linux with Python 3.4, 3.5 and 3.6;
+Doxygen theme is tested only on 3.6 and math rendering is disabled as it's
+impossible to get it working on the old Ubuntu 14.04 LTS. Build status is over
+at https://travis-ci.org/mosra/m.css.
+
Contact
=======
*A no-nonsense, no-JavaScript CSS framework and Pelican theme for
content-oriented websites.*
+.. image:: https://travis-ci.org/mosra/m.css.svg?branch=master
+ :target: https://travis-ci.org/mosra/m.css
.. image:: https://badges.gitter.im/mosra/m.css.svg
- :alt: Join the chat at https://gitter.im/mosra/m.css
- :target: https://gitter.im/mosra/m.css?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
+ :alt: Join the chat at https://gitter.im/mosra/m.css
+ :target: https://gitter.im/mosra/m.css?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
Do you *hate* contemporary web development like I do? Do you also feel that
it's not right for a web page to take *seconds* and *megabytes* to render? Do
--- /dev/null
+# kate: indent-width 2;
+
+language: python
+matrix:
+ include:
+ - python: 3.4
+ env:
+ - WITH_DOXYGEN=OFF
+ addons:
+ apt:
+ packages:
+ - python: 3.5
+ env:
+ - WITH_DOXYGEN=OFF
+ - python: 3.6
+ env:
+ - WITH_DOXYGEN=ON
+
+install:
+ # 2.10 has some weird behavior, putting a lot of empty lines into the output
+ - pip install jinja2==2.9.6
+ - pip install pelican Pyphen Pillow
+
+ # Needed for doxygen binaries
+ - mkdir -p $HOME/bin && export PATH=$HOME/bin:$PATH
+
+ # Download newer Doxygen, as I don't want to care for the old bugs
+ - if [ "$WITH_DOXYGEN" == "ON" && ! -f $HOME/bin/doxygen ]; then wget "http://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.13.linux.bin.tar.gz" && tar -xzf doxygen-1.8.13.linux.bin.tar.gz && cp doxygen-1.8.13/bin/doxygen $HOME/bin && doxygen -v; fi
+
+script:
+ # Test the theme
+ - cd $TRAVIS_BUILD_DIR/pelican-theme && python -m unittest
+
+ # Test plugins. Math plugin is not tested as dvisvgm on 14.04 is unusable.
+ - cd $TRAVIS_BUILD_DIR/pelican-plugins && python -m unittest
+
+ # Test doxygen theme. Math rendering is not tested as dvisvgm on 14.04 is
+ # unusable.
+ - if [ "$WITH_DOXYGEN" == "ON" ]; then cd $TRAVIS_BUILD_DIR/doxygen && python -m unittest; fi
+
+# Cache the downloaded doxygen
+cache:
+ directories:
+ - $HOME/bin