Skip to content

Commit

Permalink
Upgrade TravisCI infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Langer committed Nov 1, 2015
1 parent 1cef46b commit 4df582b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@ install:
# - python -c "from lxml import etree; print etree.LIBXSLT_COMPILED_VERSION; print etree.LIBXSLT_VERSION; print etree.LIBXML_VERSION"
- make init

cache:
directories:
- $HOME/.cache/pip

script: make test
sudo: false
7 changes: 3 additions & 4 deletions test_inlinestyler.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,11 @@ def test_inline_css_in_head():
"""

expected = """<html>
<head>
</head>
<body>
<head></head>
<body>
Hello <span class="emphasis" style="font-weight: bold">World</span>!
</body>
</html>
</html>
"""
inlined = inline_css(document)
assert expected == inlined

0 comments on commit 4df582b

Please sign in to comment.