Skip to content
Snippets Groups Projects
Commit 0ef6d5d1 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

compiling moved outside

parent 01bbc10f
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ cache:
- $HOME/build/smok-serwis/coolamqp/.eggs
- $HOME/.cache
script:
- python -m coolamqp.framing.compilation.compile_definitions
- python compile_definitions.py
- python setup.py nosetests
install:
- pip install -r requirements.txt
......
......@@ -3,8 +3,7 @@
set -x
set -e
python -m coolamqp.framing.compilation.compile_definitions
rm -f coolamqp/framing/compilation/compile_definitions.py
python compile_definitions.py
python setup.py bdist bdist_wheel
if [ $TRAVIS_BRANCH == "master" ]; then
......
# coding=UTF-8
from __future__ import print_function, absolute_import, division
import six
import unittest
class TestCompilation(unittest.TestCase):
def test_comp(self):
from coolamqp.framing.compilation.compile_definitions import \
from compile_definitions import \
compile_definitions
compile_definitions(xml_file='resources/amqp0-9-1.extended.xml',
out_file='/tmp/definitions.py')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment