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:14:33 +00:00
|
|
|
- pip install coveralls codecov
|
2016-01-19 10:41:03 +00:00
|
|
|
|
|
|
|
script:
|
|
|
|
- pushd bin
|
|
|
|
- ./launch_redis.sh
|
|
|
|
- ./launch_lvldb.sh
|
|
|
|
- ./launch_logs.sh
|
|
|
|
- ./launch_queues.sh
|
|
|
|
- ./launch_scripts.sh
|
|
|
|
- sleep 120
|
|
|
|
- ./Shutdown.py
|
|
|
|
- popd
|
2016-01-19 11:01:45 +00:00
|
|
|
- find logs/* -exec cat {} \;
|
2018-04-11 08:14:33 +00:00
|
|
|
- nosetests --with-coverage --cover-package=things -d
|
2016-01-19 10:41:03 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: change
|
|
|
|
on_failure: change
|
2018-04-11 08:14:33 +00:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- codecov
|
|
|
|
- coveralls
|