Add TravisCI support.

This commit is contained in:
Eric Snow 2018-01-05 19:22:10 +00:00
parent 3d6b05b3cc
commit e3d1732fcc

25
.travis.yml Normal file
View file

@ -0,0 +1,25 @@
language: python
cache: pip
python:
- "2.7"
- "3.6"
matrix:
include:
- python: 3.6
env: TARGET=lint
- python: 3.6
env: TARGET=coverage
after_success:
- if [ $TRAVIS_UPLOAD_COVERAGE == "true" ]; then
bash <(curl -s https://codecov.io/bash);
fi
- python: 2.7
env: TARGET=test
install:
- make depends
script:
#- make $TARGET PYTHON=python$TRAVIS_PYTHON_VERSION
- make $TARGET PYTHON=$TRAVIS_PYTHON_PATH