travis integration for tests
This commit is contained in:
parent
546c075729
commit
89e6467d74
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
*.py[co]
|
||||
*.sw[po]
|
||||
.cache/
|
||||
|
9
.travis.yml
Normal file
9
.travis.yml
Normal file
@ -0,0 +1,9 @@
|
||||
language: python
|
||||
python:
|
||||
- "3.2"
|
||||
- "3.3"
|
||||
- "3.4"
|
||||
- "3.5"
|
||||
install: "pip install -r requirements.txt"
|
||||
script:
|
||||
- ./tests/run_tests.py
|
5
tests/run_tests.sh
Executable file
5
tests/run_tests.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
tests_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
cd $tests_dir
|
||||
python -m pytest test_*.py
|
Loading…
Reference in New Issue
Block a user