Browse code

travis: Travis integration.

Jose Fonseca authored on 14/02/2016 00:15:24
Showing 1 changed files

1 1
new file mode 100644
... ...
@@ -0,0 +1,25 @@
1
+# Use trusty for newer graphviz
2
+sudo: required
3
+dist: trusty
4
+
5
+language: python
6
+
7
+python:
8
+# https://github.com/travis-ci/travis-ci/issues/2219
9
+- "3.4_with_system_site_packages"
10
+
11
+addons:
12
+  apt:
13
+    packages:
14
+    - gir1.2-gtk-3.0
15
+    - python3-gi
16
+    - python3-gi-cairo
17
+    - graphviz
18
+    - xvfb
19
+
20
+before_install:
21
+- dot -V
22
+
23
+script:
24
+- cd tests
25
+- xvfb-run -a -s '-screen 0 1024x768x24' python ../test.py *.dot graphs/*.gv