diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2015-05-09 05:59:54 -0700 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2015-05-09 05:59:54 -0700 |
commit | c4a35a5ac1ef031ababe03b5da885794d07706f1 (patch) | |
tree | e3218083780ea54fd26aa98014936e0e0b3ed833 /.travis.yml | |
parent | 6686aa99b215d6e54605479f40b1f30df7a1bfcc (diff) | |
download | my_new_personal_website-c4a35a5ac1ef031ababe03b5da885794d07706f1.tar.xz my_new_personal_website-c4a35a5ac1ef031ababe03b5da885794d07706f1.zip |
add tidy5 check
Also filled in some originally missing alt attributes of img tags.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 04b3dc46..567d846a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,9 +5,21 @@ language: python python: - "3.4" before_install: + - sudo add-apt-repository -y ppa:kalakris/cmake + - sudo apt-get update + - sudo apt-get install -y cmake + # install pandoc - wget https://github.com/jgm/pandoc/releases/download/1.13.2/pandoc-1.13.2-1-amd64.deb - sudo dpkg -i pandoc-1.13.2-1-amd64.deb + # install tidy-html5 + - git clone git@github.com:htacg/tidy-html5.git + - cd tidy-html5/build/cmake + - cmake ../.. + - make + - sudo make install + - cd ../../.. install: - pip install -r requirements.txt script: - python pyblog generate + - find build -name '*.html' -print0 | while IFS= read -r -d '' file; do tidy5 -q -e "$file"; done |