mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-30 09:47:17 +00:00
34 lines
650 B
YAML
34 lines
650 B
YAML
language: python
|
|
|
|
python:
|
|
- "3.5"
|
|
|
|
sudo: required
|
|
|
|
cache: pip
|
|
|
|
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:
|
|
- ./installing_deps.sh
|
|
- pip install coveralls codecov nose
|
|
|
|
script:
|
|
- pushd bin
|
|
- ./launch_redis.sh
|
|
- ./launch_lvldb.sh
|
|
- ./launch_logs.sh
|
|
- ./launch_queues.sh
|
|
- popd
|
|
- cd tests
|
|
- nosetests --with-coverage --cover-package=../bin -d
|
|
|
|
|
|
after_success:
|
|
- codecov
|
|
- coveralls
|