Skip to content
This repository was archived by the owner on Feb 15, 2023. It is now read-only.

Commit 9e434dc

Browse files
committed
Merge pull request #263 from nostrademons/travis_ci
Enable Travis CI
2 parents 8fc84c7 + db62d5a commit 9e434dc

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.travis.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
language: c++
2+
3+
compiler:
4+
- gcc
5+
- clang
6+
7+
install:
8+
- wget 'https://googletest.googlecode.com/files/gtest-1.6.0.zip'
9+
- unzip gtest-1.6.0.zip
10+
- ln -s gtest-1.6.0 gtest
11+
- sudo pip install BeautifulSoup
12+
- sudo pip install html5lib==0.95
13+
- ln -s `python -c 'import html5lib, os; print os.path.dirname(html5lib.__file__)'`/tests/testdata .
14+
15+
script:
16+
- ./autogen.sh && ./configure && make && make check
17+
- python python/gumbo/gumboc_test.py
18+
- python python/gumbo/html5lib_adapter_test.py
19+
- python python/gumbo/soup_adapter_test.py
20+
- sudo make install
21+
- sudo python setup.py sdist install
22+
- python -c 'import gumbo; gumbo.parse("Foo")'

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Gumbo - A pure-C HTML5 parser.
22
============
33

4+
[![Build Status](https://travis-ci.org/google/gumbo-parser.svg?branch=master)](https://travis-ci.org/google/gumbo-parser)
5+
46
Gumbo is an implementation of the [HTML5 parsing algorithm][] implemented
57
as a pure C99 library with no outside dependencies. It's designed to serve
68
as a building block for other tools and libraries such as linters,

0 commit comments

Comments
 (0)