initial travis support
This commit is contained in:
7
.travis.yml
Normal file
7
.travis.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
language: python
|
||||
python:
|
||||
- "2.7"
|
||||
install:
|
||||
- pip install -r requirements.txt
|
||||
script:
|
||||
- tests/run_tests
|
||||
@@ -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
1
requirements.txt
Normal file
@@ -0,0 +1 @@
|
||||
six
|
||||
6
tests/run_tests
Executable file
6
tests/run_tests
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import unittest
|
||||
import six
|
||||
|
||||
print('No tests, all ok')
|
||||
Reference in New Issue
Block a user