Commit 249b8741 authored by Pavel Lobashov's avatar Pavel Lobashov Committed by GitHub

Add ability to run onlyofficetestingrobot/doc-builder-testing on build (#127)

parent 4cb98e9c
sudo: required
services:
- docker
language: node_js language: node_js
node_js: node_js:
- '6' - '6'
before_install:
- npm install -g grunt-cli node-qunit-phantomjs
before_script: before_script:
- git clone -b develop https://github.com/ONLYOFFICE/web-apps.git ../web-apps - git clone -b develop https://github.com/ONLYOFFICE/web-apps.git ../web-apps
jobs: jobs:
include: include:
- stage: Formulas tests - stage: Formulas tests
script: node-qunit-phantomjs cell/.unit-tests/FormulaTests.html
- stage: Building SDK
script: script:
- cd build - npm install -g node-qunit-phantomjs
- npm install - node-qunit-phantomjs cell/.unit-tests/FormulaTests.html
- grunt --level=WHITESPACE_ONLY - stage: Building SDK and test it by `onlyofficetestingrobot/doc-builder-testing`
\ No newline at end of file script:
- npm install -g grunt-cli
- npm install --prefix build
- grunt --level=WHITESPACE_ONLY --base build --gruntfile build/Gruntfile.js
- docker pull onlyofficetestingrobot/doc-builder-testing
- docker run -v $PWD/word:/opt/onlyoffice/documentbuilder/sdkjs/word -v $PWD/cell:/opt/onlyoffice/documentbuilder/sdkjs/cell -v $PWD/slide:/opt/onlyoffice/documentbuilder/sdkjs/slide onlyofficetestingrobot/doc-builder-testing
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment