initial travis support

This commit is contained in:
Pål Grønås Drange
2016-11-24 10:00:33 +01:00
parent 0186739c13
commit c4c8eaf887
4 changed files with 16 additions and 2 deletions

7
.travis.yml Normal file
View File

@@ -0,0 +1,7 @@
language: python
python:
- "2.7"
install:
- pip install -r requirements.txt
script:
- tests/run_tests

View File

@@ -1,8 +1,8 @@
# Loading pycmake macros
python_module( ctypes )
#python_module( ctypes )
python_module( six )
python_module( numpy REQUIRED 1.7 )
#python_module( numpy REQUIRED 1.7 )
python_module( inspect OPTIONAL )
if (DEFINED PY_inspect)

1
requirements.txt Normal file
View File

@@ -0,0 +1 @@
six

6
tests/run_tests Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env python
import unittest
import six
print('No tests, all ok')