redash/circle.yml

40 lines
1.0 KiB
YAML
Raw Normal View History

2014-01-25 19:24:31 +00:00
machine:
2015-10-19 19:28:51 +00:00
services:
- docker
2014-01-25 19:24:31 +00:00
node:
version:
2017-01-02 14:58:01 +00:00
6.9.1
2014-01-26 14:51:07 +00:00
python:
version:
2014-01-26 14:54:32 +00:00
2.7.3
2014-01-25 19:24:31 +00:00
dependencies:
pre:
2016-12-07 13:33:58 +00:00
- pip install --upgrade setuptools
- pip install -r requirements_dev.txt
- pip install -r requirements.txt
2016-12-06 20:08:48 +00:00
- make deps
cache_directories:
- node_modules/
2014-01-25 19:24:31 +00:00
test:
override:
2015-12-27 08:12:19 +00:00
- nosetests --with-xunit --xunit-file=$CIRCLE_TEST_REPORTS/junit.xml --with-coverage --cover-package=redash tests/
deployment:
github_and_docker:
branch: master
commands:
- make pack
# Skipping uploads for now, until master is stable.
# - make upload
#- echo "client/app" >> .dockerignore
#- docker pull redash/redash:latest
#- docker build -t redash/redash:$(./manage.py version | sed -e "s/\+/./") .
#- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
#- docker push redash/redash:$(./manage.py version | sed -e "s/\+/./")
2014-09-14 15:23:02 +00:00
notify:
webhooks:
- url: https://webhooks.gitter.im/e/895d09c3165a0913ac2f
2015-03-16 07:03:52 +00:00
general:
branches:
ignore:
- gh-pages