aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.travis.yml11
-rw-r--r--README.md2
2 files changed, 13 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..96f8425c
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,11 @@
+branches:
+ only:
+ - source
+language: python
+python:
+ - "3.4"
+before_install:
+ - sudo apt-get update
+ - sudo apt-get install pandoc
+script:
+ - python pyblog generate
diff --git a/README.md b/README.md
index 18b55ef7..15f95003 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,5 @@
+[![Build Status](https://travis-ci.org/zmwangx/zmwangx.github.io.svg)](https://travis-ci.org/zmwangx/zmwangx.github.io)
+
This blog can be built with the `pyblog` script. The `pyblog` script currently provides the following actions:
* `new_post` (aliases: `n`, `new`);