lemur/.travis.yml

49 lines
924 B
YAML
Raw Permalink Normal View History

2015-07-21 01:13:42 +02:00
language: python
2016-10-09 09:05:50 +02:00
sudo: required
dist: trusty
node_js:
- "6.2.0"
2015-08-04 06:07:28 +02:00
2015-07-23 19:01:18 +02:00
addons:
postgresql: "9.4"
2015-08-04 06:07:28 +02:00
matrix:
include:
- python: "3.5"
env: TOXENV=py35
2015-08-04 06:07:28 +02:00
2015-07-21 01:13:42 +02:00
cache:
directories:
- node_modules
2015-07-23 21:26:18 +02:00
- .pip_download_cache
2015-08-04 06:07:28 +02:00
2015-07-23 21:26:18 +02:00
env:
global:
- PIP_DOWNLOAD_CACHE=".pip_download_cache"
# do not load /etc/boto.cfg with Python 3 incompatible plugin
# https://github.com/travis-ci/travis-ci/issues/5246#issuecomment-166460882
- BOTO_CONFIG=/doesnotexist
2015-08-04 06:07:28 +02:00
2015-06-22 22:47:27 +02:00
before_script:
2015-07-23 18:54:38 +02:00
- psql -c "create database lemur;" -U postgres
- psql -c "create user lemur with password 'lemur;'" -U postgres
2016-10-09 09:05:50 +02:00
- npm config set registry https://registry.npmjs.org
2015-07-21 17:49:34 +02:00
- npm install -g bower
2016-10-31 19:00:15 +01:00
- pip install --upgrade setuptools
2015-08-04 06:07:28 +02:00
install:
- pip install coveralls
- pip install bandit
2015-07-21 01:13:42 +02:00
script:
2015-07-21 18:17:29 +02:00
- make test
- bandit -r . -ll -ii -x lemur/tests/,docs
2015-07-21 01:13:42 +02:00
after_success:
- coveralls
2015-07-21 01:13:42 +02:00
notifications:
email:
kglisson@netflix.com