diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..6310a0a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +language: ruby +branches: + only: + - master +script: + - git clone https://github.com/asciidoctor/asciidoctor.git + - cd asciidoctor + - bundle install + - cd .. + - pwd + - mkdir build + - asciidoctor/bin/asciidoctor main.asciidoc -o build/index.html +deploy: + provider: pages:git + token: $GITHUB_TOKEN + edge: true + local_dir: build/ diff --git a/README.md b/README.md index 1389495..e16c9af 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,12 @@ # 自作ISAのためのLLVMバックエンドを書く薄い本(予定) Creative Commons License +[![Build Status](https://travis-ci.org/ushitora-anqou/write-your-llvm-backend.svg?branch=master)](https://travis-ci.org/ushitora-anqou/write-your-llvm-backend) 別に売る気はない。鋭意執筆中。 +[ここからmasterが読めます。](https://ushitora-anqou.github.io/write-your-llvm-backend/) + ## Author [艮 鮟鱇(うしとら あんこう/Ushitora Anqou)](https://anqou.net/)