AIL-framework/.travis.yml

35 lines
650 B
YAML
Raw Normal View History

2016-01-19 11:41:03 +01:00
language: python
python:
2018-04-11 10:14:33 +02:00
- "3.5"
2016-01-19 11:41:03 +01:00
sudo: required
2016-07-25 11:38:41 +02:00
cache: pip
2016-01-19 11:41:03 +01:00
env:
- AIL_HOME=$TRAVIS_BUILD_DIR AIL_BIN=$TRAVIS_BUILD_DIR/bin/ \
AIL_FLASK=$TRAVIS_BUILD_DIR/var/www/ AIL_REDIS=$TRAVIS_BUILD_DIR/redis/src/ \
AIL_LEVELDB=$TRAVIS_BUILD_DIR/redis-leveldb/ PATH=$AIL_HOME:$AIL_REDIS:$AIL_LEVELDB:$PATH
install:
2016-07-25 11:38:41 +02:00
- ./installing_deps.sh
2018-04-11 10:48:22 +02:00
- pip install coveralls codecov nose
2016-01-19 11:41:03 +01:00
script:
- pushd bin
- ./launch_redis.sh
- ./launch_lvldb.sh
- ./launch_logs.sh
- ./launch_queues.sh
2018-04-26 17:06:19 +02:00
- popd
2018-04-26 16:54:42 +02:00
- cd tests
- nosetests --with-coverage --cover-package=../bin -d
2016-01-19 11:41:03 +01:00
2018-04-11 10:14:33 +02:00
after_success:
- codecov
- coveralls