From 0bd6cd558be0c7ab54a6c6432c0155486958feff Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Mon, 11 Jun 2018 17:04:53 -0700 Subject: [PATCH] Add README, CI config files --- .travis.yml | 9 +++++++++ README.md | 13 +++++++++++++ appveyor.yml | 22 ++++++++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 README.md create mode 100644 appveyor.yml diff --git a/.travis.yml b/.travis.yml index 5cd34b8..1ed42ad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,15 @@ language: node_js + sudo: false + node_js: - "node" + compiler: clang-3.6 + env: - CXX=clang-3.6 + addons: apt: sources: @@ -12,3 +17,7 @@ addons: - ubuntu-toolchain-r-test packages: - clang-3.6 + +branches: + only: + - master diff --git a/README.md b/README.md new file mode 100644 index 0000000..d06f73a --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +tree-sitter-html +================ + +[![Build Status](https://travis-ci.org/tree-sitter/tree-sitter-html.svg?branch=master)](https://travis-ci.org/tree-sitter/tree-sitter-html) +[![Build status](https://ci.appveyor.com/api/projects/status/bv1i8f3yi2aoyonx/branch/master?svg=true)](https://ci.appveyor.com/project/maxbrunsfeld/tree-sitter-html/branch/master) + +HTML grammar for [tree-sitter][]. + +[tree-sitter]: https://github.com/tree-sitter/tree-sitter + +References + +* [The HTML5 Spec](https://www.w3.org/TR/html5/syntax.html) diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..9cb5290 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,22 @@ +image: Visual Studio 2015 + +environment: + nodejs_version: "8" + +platform: + - x64 + +install: + - ps: Install-Product node $env:nodejs_version + - node --version + - npm --version + - npm install + +test_script: + - npm test + +build: off + +branches: + only: + - master