зеркало из https://github.com/mozilla/mozillians.git
23 строки
561 B
YAML
23 строки
561 B
YAML
language: python
|
|
sudo: false
|
|
python:
|
|
- "2.7.11"
|
|
services:
|
|
- elasticsearch
|
|
before_install:
|
|
- pip install flake8
|
|
- flake8 mozillians
|
|
- mysql -e 'create database mozillians character set utf8; SET @@GLOBAL.wait_timeout=28800;'
|
|
- cp mozillians/settings/local.py-travis mozillians/settings/local.py
|
|
cache:
|
|
- pip
|
|
install:
|
|
- npm install -g less
|
|
- pip install coverage
|
|
- pip install --require-hashes --no-deps -r requirements/dev.txt
|
|
script:
|
|
- coverage run --source=mozillians manage.py test
|
|
after_success:
|
|
- pip install coveralls
|
|
- coveralls
|