Permalink
Browse files

Add initial travis yaml file

  • Loading branch information...
tailhook committed Feb 10, 2014
1 parent e1100b0 commit cae0522893f6bb5f18e09be3ee7464744a2a8a53
Showing with 19 additions and 0 deletions.
  1. +19 −0 .travis.yml
View
@@ -0,0 +1,19 @@
+language: python
+
+python:
+- "3.3"
+
+install:
+- "sudo apt-get remove libzmq3"
+- "sudo apt-get install libev-dev uuid-dev"
+- "git clone --depth=1 git://github.com/tailhook/coyaml"
+- "cd coyaml; PYTHON=python3 ./waf configure --prefix=/usr; python3 ./waf build; cd .."
+- "git clone --depth=1 git://github.com/tailhook/libwebsite"
+- "cd libwebsite; PYTHON=python3 ./waf configure --prefix=/usr; python3 ./waf build; cd .."
+- "wget http://download.zeromq.org/zeromq-2.2.0.tar.gz"
+- "tar -xzf zeromq-2.2.0.tar.gz"
+- "cd zeromq-2.2.0; ./configure --prefix=/usr; make; sudo make install; cd .."
+- "pip install pyzmq PyYAML --use-mirrors"
+- 'PYTHON=python3 CFLAGS="-I$(pwd)/coyaml/include -I$(pwd)/libwebsite/include" LDFLAGS="-L$(pwd)/coyaml/build -L$(pwd)/libwebsite/build" ./waf configure --prefix=/usr; PYTHONPATH=coyaml python3 ./waf build'
+
+script: "PYTHONPATH=coyaml ./waf test"

0 comments on commit cae0522

Please sign in to comment.