Skip to content

Travis setup #173

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 13 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down