AIL-framework/.travis.yml

34 lines
654 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:
2018-04-11 10:48:22 +02:00
- . ./AILENV/bin/activate
2016-01-19 11:41:03 +01:00
- pushd bin
- ./launch_redis.sh
- ./launch_lvldb.sh
- ./launch_logs.sh
- ./launch_queues.sh
2018-04-11 10:14:33 +02:00
- nosetests --with-coverage --cover-package=things -d
2016-01-19 11:41:03 +01:00
2018-04-11 10:14:33 +02:00
after_success:
- codecov
- coveralls