File tree Expand file tree Collapse file tree 4 files changed +48
-20
lines changed Expand file tree Collapse file tree 4 files changed +48
-20
lines changed Original file line number Diff line number Diff line change 11[submodule "features/features "]
22 path = features/features
33 url = https://github.com/kuzzleio/sdk-features.git
4- [submodule "doc/framework "]
5- path = doc/framework
6- url = https://github.com/kuzzleio/documentation
Original file line number Diff line number Diff line change 1212 # Codecov token
1313 secure : ATb4QFGG6sPkfquAoye6BeN7u4uQ4abP8qatVK8XG3Qof+pECZwRkFPVoopO1Gb/4bQSPfapc1aGPzGuKi409v633vpDnpcgM7cHX9CPT+YQYcTePMFtq/m+5YY3WIYWM1zCFmJ+bBwQO/MtsubfGfA9EmSAAxtnJV+1JDD3Y6+NQRkQN7K+gxQozec0u1W0Oe1sJXLSKlW3JPL8iRtKcLvmIDysKtBK6X/Wg1qP2Me4reb449a0yGej3QvZDbDYJbdlh7vuFLjXJAz3yExfED8QAm8wf0p9F8emILHnkLxjumTTnGUUqDJLLu8WgkahFiyFo4jMtryhNQ0+p6WhXmEbpNIO+yMGSZPsCGbnpkhWJ1aMAT6ZhgpHf4jDZQd4ZJi02+n9tOpe+Lm2Jk2LXY8SwMk3xGtqm5sk03weTc019TUGj/NLoHNjO/vfNz3xOImD5Gck3bXWNxdrX3bjiyVsr/u77enoWu9drPCEl3JOTIwVP3mTF8R3axSFOQ8M4SI1orCMChkGMB5qExl+Gfx+MHa/jL7QKO1SFRgl1O3DbhsyFE6xiabYzwLcdbI50ypy6VJjmDd5RxK7BkDa8RumlHT1uY1FK9yRXu4XFrrw9FjF2s+xjWbliRZqXRReXk0W1Hz4zj5au3Y9YH5a/UPtB72TY+AUUWHTUPQl3SU=
1414
15+ addons :
16+ apt :
17+ sources :
18+ - ubuntu-toolchain-r-test
19+ packages :
20+ - gcc-4.9
21+ - g++-4.9
22+
23+ before_install :
24+ - export CC="gcc-4.9" CXX="g++-4.9"
25+
26+ install :
27+ - npm install
28+
29+ script :
30+ - npm run lint
31+ - npm run unit-testing
32+
33+ after_success :
34+ - cat ./coverage/lcov.info | ./node_modules/.bin/codecov
35+
36+ - stage : Tests
37+ name : Integration Tests
38+ if : type = pull_request OR type = push AND branch =~ /^master|[0-9]+-(dev|stable)$/ OR type = cron
39+ language : node_js
40+ node_js : 8
41+
1542 addons :
1643 apt :
1744 sources :
@@ -30,13 +57,11 @@ jobs:
3057
3158 script :
3259 - npm run build
33- - npm test
34-
35- after_success :
36- - cat ./coverage/lcov.info | ./node_modules/.bin/codecov
60+ - npm run functional-testing
3761
38- - name : Documentation tests
39- stage : Tests
62+ - stage : Tests
63+ name : Documentation Tests
64+ if : type = pull_request OR type = push AND branch =~ /^master|[0-9]+-(dev|stable)$/ OR type = cron
4065 language : node_js
4166 node_js : 8
4267
4570 script :
4671 - npm run doc-testing
4772
48- - stage : " Deploy Stable release on NPM"
49- if : type != pull_request && branch = master
73+ - stage : Tests
74+ name : Dead link check
75+ if : type = pull_request OR type = push AND branch =~ /^master|[0-9]+-(dev|stable)$/ OR type = cron
76+
77+ before_script :
78+ - npm run doc-prepare
79+ - npm run --prefix doc/framework clone-repos
80+ script :
81+ - npm run --prefix doc/framework dead-links
82+
83+
84+ - stage : Deploy Stable release on NPM
85+ if : branch = master AND tag IS present AND type != cron
5086 sudo : false
5187 language : node_js
5288 node_js : 8
@@ -113,4 +149,3 @@ jobs:
113149 repo : kuzzleio/sdk-javascript
114150 all_branches : true
115151 condition : $TRAVIS_BRANCH =~ ^[0-9]+-beta$
116-
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- set -e
4-
5- echo " Init documentation framework submodule"
6- git submodule init framework/
7- git submodule update framework/
3+ echo " Clone documentation framework"
4+ git clone --depth 10 --single-branch --branch master https://github.com/kuzzleio/documentation.git framework/
85
96echo " Link local documentation"
10- mkdir framework/.repos /sdk/sdk-javascript-6/doc/
11- ln -s ../../../../../ 6 framework/.repos /sdk/sdk-javascript-6/doc/6
7+ rm framework/src /sdk/js/6 # remove link to submodule
8+ ln -s ../../../../6 framework/src /sdk/js/6 # use current documentation
129
1310npm --prefix framework/ install
You can’t perform that action at this time.
0 commit comments