aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2015-05-07 15:16:00 -0700
committerZhiming Wang <zmwangx@gmail.com>2015-05-07 15:16:00 -0700
commitf5f5f0f054fed05948276c7330631059e879d882 (patch)
treed9dbfdff0f3f60543dbf6ecbc0a020612e3ee28a
parent950747d7ac4afbdce87873e30bfd2703961f0955 (diff)
downloadmy_new_personal_website-f5f5f0f054fed05948276c7330631059e879d882.tar.xz
my_new_personal_website-f5f5f0f054fed05948276c7330631059e879d882.zip
configure simple Travis integration
-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`);