forum-django/.travis.yml

28 lines
584 B
YAML

dist: trusty
sudo: false
language: python
addons:
mariadb: 10.0
cache:
bundler: true
pip: true
directories:
- node_modules
python:
- 3.5
- 3.6
before_script:
- echo "USE mysql;\nUPDATE user SET password=PASSWORD('') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
# command to install dependencies
install:
- pip install -r backend/requirements.txt
# - nvm install node v6
- npm i
- gulp build
- pip install coveralls
# command to run tests
script:
- tools/run-linter-and-isort.sh
- tools/run-tests-with-coverage.sh
after_success:
coveralls