2014-01-25 19:24:31 +00:00
|
|
|
machine:
|
2015-10-19 19:28:51 +00:00
|
|
|
services:
|
|
|
|
- docker
|
2017-01-25 09:33:40 +00:00
|
|
|
- redis
|
2014-01-25 19:24:31 +00:00
|
|
|
node:
|
|
|
|
version:
|
2017-01-02 14:58:01 +00:00
|
|
|
6.9.1
|
2014-01-25 19:24:31 +00:00
|
|
|
dependencies:
|
2017-02-18 10:48:39 +00:00
|
|
|
override:
|
2016-12-07 13:33:58 +00:00
|
|
|
- pip install --upgrade setuptools
|
2015-07-27 18:44:31 +00:00
|
|
|
- pip install -r requirements_dev.txt
|
2014-02-06 09:09:39 +00:00
|
|
|
- pip install -r requirements.txt
|
2017-12-31 12:34:41 +00:00
|
|
|
- npm install
|
|
|
|
- npm run build
|
2014-02-06 09:09:39 +00:00
|
|
|
cache_directories:
|
2017-01-15 08:13:34 +00:00
|
|
|
- node_modules/
|
2014-01-25 19:24:31 +00:00
|
|
|
test:
|
2014-02-06 09:09:39 +00:00
|
|
|
override:
|
2017-10-18 07:35:19 +00:00
|
|
|
- pytest --junitxml=$CIRCLE_TEST_REPORTS/junit.xml tests/
|
2014-01-26 14:30:16 +00:00
|
|
|
deployment:
|
2015-12-04 14:18:58 +00:00
|
|
|
github_and_docker:
|
2017-11-02 08:59:21 +00:00
|
|
|
branch: [master, /release.*/]
|
2014-01-26 14:30:16 +00:00
|
|
|
commands:
|
2017-12-31 12:34:41 +00:00
|
|
|
- bin/pack
|
2017-03-07 10:26:00 +00:00
|
|
|
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
|
|
|
|
- docker build -t redash/redash:$(./manage.py version | sed -e "s/\+/./") .
|
|
|
|
- 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
|