2016-03-02 22:57:14 +03:00
|
|
|
machine:
|
2016-03-04 22:47:40 +03:00
|
|
|
services:
|
|
|
|
- docker
|
2016-03-02 22:57:14 +03:00
|
|
|
node:
|
2017-02-08 08:55:30 +03:00
|
|
|
version: 6.1.0
|
2016-03-02 22:57:14 +03:00
|
|
|
|
|
|
|
checkout:
|
|
|
|
post:
|
|
|
|
- git submodule sync
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
cache_directories:
|
|
|
|
- node_modules
|
2016-03-04 22:47:40 +03:00
|
|
|
- "~/docker"
|
2016-03-02 22:57:14 +03:00
|
|
|
override:
|
2017-02-23 00:06:03 +03:00
|
|
|
- docker/bin/build_images.sh --test
|
2016-04-25 12:45:48 +03:00
|
|
|
- npm install -g gulp-cli
|
2016-03-02 22:57:14 +03:00
|
|
|
- npm install
|
|
|
|
|
|
|
|
test:
|
|
|
|
pre:
|
|
|
|
- mkdir -p "$CIRCLE_TEST_REPORTS/django"
|
|
|
|
override:
|
2017-01-04 20:59:20 +03:00
|
|
|
- gulp css:lint
|
2016-08-26 19:24:28 +03:00
|
|
|
- gulp js:lint
|
2016-05-24 12:38:04 +03:00
|
|
|
- gulp js:test
|
2017-02-23 00:06:03 +03:00
|
|
|
- docker/bin/run_tests.sh
|