2016-01-19 11:41:03 +01:00
|
|
|
language: python
|
|
|
|
|
|
|
|
python:
|
2019-05-01 13:17:53 +02:00
|
|
|
- "3.6"
|
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
|
|
|
|
|
2019-05-01 11:40:58 +02:00
|
|
|
dist: xenial
|
2016-01-19 11:41:03 +01:00
|
|
|
|
|
|
|
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
|
2019-05-01 13:49:07 +02:00
|
|
|
- ./LAUNCH.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
|