ndarville / ndarville.github.io

Programming-focused blog of ndarville
ndarville.github.io
0 stars 0 forks source link

Travis CI #2

Open ndarville opened 10 years ago

ndarville commented 10 years ago

$ cd ndarville.github.io

  1. Install Jekyll
    • [ ] $ gem install jekyll
  2. Build site:
    • [ ] $ jekyll build
  3. Validate:

    • [ ] custom.css
    $ nvm install -g csslint
    $ csslint css/ --format=compact --ignore=ids,unique-headings
    • [ ] All HTML

    https://github.com/mozilla/html5-lint

    $ python _tests/html5check.py -h _site/blog/2013/11/10/a-bar-chart.html

Question is whether errors throw error codes.

ndarville commented 10 years ago
install:
  - gem install jekyll
  - nvm install -g csslint

before_script:
  - jekyll build

script:
  - "csslint css/custom.css --format=compact --ignore=ids,unique-headings"
  # for post in _site/blog/...
  - "python _tests/html5check.py -h _site/blog/2013/11/10/a-bar-chart.html"

notifications:
  email:
    on_success: change
    on_failure: always
ndarville commented 10 years ago

Don’t implement this, until read-only access can be granted to Travis.

ndarville commented 10 years ago

Use the code from jekyll-bootstrap, when it’s done.