Merge pull request #2 from sigmavirus24/yaml-1.2

Set-up Travis CI for PyYAML
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..6812313
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,14 @@
+language: python
+
+python:
+- 2.6
+- 2.7
+- 3.2
+- 3.3
+
+# command to run tests, e.g. python setup.py test
+install: pip install -r requirements.txt
+
+before_script: cython ext/_yaml.pyx
+
+script: python setup.py test
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..002d1b9
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1 @@
+Cython
diff --git a/setup.py b/setup.py
index 9e856bf..32c22ed 100644
--- a/setup.py
+++ b/setup.py
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
 
 NAME = 'PyYAML'
 VERSION = '3.10'