diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..30d665536 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,32 @@ +language: c +compiler: +- clang +- gcc +os: +- linux +- osx +matrix: + allow_failures: + - os: osx +before_install: +- sudo apt-get update +- sudo apt-get install xsltproc doxygen +- echo $LANG +- echo $LC_ALL +script: +- pwd +- cd $TRAVIS_BUILD_DIR/build/cmake +- cmake ../../ +- make +- cd $TRAVIS_BUILD_DIR/build/documentation +- ./build_docs.sh +- cd $TRAVIS_BUILD_DIR/build/documentation/temp/ +- zip -r tidy-docs.zip ./tidyapi_lib +deploy: + provider: releases + api-key: "GITHUB OAUTH TOKEN" + file: + - "$TRAVIS_BUILD_DIR/build/documentation/temp/tidy-docs.zip" + skip_cleanup: true + on: + tags: true diff --git a/README.md b/README.md index 6520c737b..60d0e1f9f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,16 @@ # HTML Tidy with HTML5 support +`Tidy` tidies HTML and XML. It can tidy your documents by itself, and developers can easily integrate its features into even more powerful tools. + +This project includes: + +- `tidylib` + - A C static or dynamic library that developers can integrate into applications +- `tidy` + - A console application for processing files using `tidylib` + +[![Build Status](https://travis-ci.org/htacg/tidy-html5.svg?branch=travis_setup)](https://travis-ci.org/htacg/tidy-html5) + ## Prerequisites 1. git - http://git-scm.com/book/en/v2/Getting-Started-Installing-Git