2016-01-19 10:41:03 +00:00
|
|
|
language: python
|
|
|
|
|
|
|
|
python:
|
2018-04-11 08:14:33 +00:00
|
|
|
- "3.5"
|
2016-01-19 10:41:03 +00:00
|
|
|
|
|
|
|
sudo: required
|
|
|
|
|
2016-07-25 09:38:41 +00:00
|
|
|
cache: pip
|
2016-01-19 10:41:03 +00: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 09:38:41 +00:00
|
|
|
- ./installing_deps.sh
|
2018-04-11 08:48:22 +00:00
|
|
|
- pip install coveralls codecov nose
|
2016-01-19 10:41:03 +00:00
|
|
|
|
|
|
|
script:
|
|
|
|
- pushd bin
|
|
|
|
- ./launch_redis.sh
|
|
|
|
- ./launch_lvldb.sh
|
|
|
|
- ./launch_logs.sh
|
|
|
|
- ./launch_queues.sh
|
2018-04-11 09:05:01 +00:00
|
|
|
- nosetests --with-coverage --cover-package=bin -d
|
2018-04-11 09:17:42 +00:00
|
|
|
- ls
|
2016-01-19 10:41:03 +00:00
|
|
|
|
2018-04-11 08:14:33 +00:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- codecov
|
|
|
|
- coveralls
|