mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-14 02:28:23 +00:00
31 lines
587 B
YAML
31 lines
587 B
YAML
language: python
|
|
|
|
python:
|
|
- "3.6"
|
|
|
|
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
|
|
|
|
dist: bionic
|
|
|
|
install:
|
|
- ./installing_deps.sh
|
|
- pip install coveralls codecov nose
|
|
|
|
script:
|
|
- pushd bin
|
|
- ./LAUNCH.sh -l
|
|
- popd
|
|
- cd tests
|
|
- nosetests --with-coverage --cover-package=../bin -d
|
|
|
|
|
|
after_success:
|
|
- codecov
|
|
- coveralls
|