2016-04-11 13:08:59 +02:00
|
|
|
language: node_js
|
2017-07-23 07:56:37 +02:00
|
|
|
node_js:
|
|
|
|
- "7"
|
2016-04-11 13:08:59 +02:00
|
|
|
|
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
sudo: required
|
|
|
|
|
|
|
|
install:
|
2017-07-22 22:38:36 +02:00
|
|
|
- sudo apt-get -y install libgif-dev calibre npm
|
2017-07-22 22:43:06 +02:00
|
|
|
- sudo npm cache clean -f
|
2017-07-22 22:35:46 +02:00
|
|
|
- sudo npm install -g n
|
2017-07-22 22:31:06 +02:00
|
|
|
- sudo n stable
|
2017-07-22 22:43:06 +02:00
|
|
|
- sudo ln -sf /usr/local/n/versions/node/8.0.0/bin/node /usr/bin/node
|
2017-07-22 22:50:15 +02:00
|
|
|
- sudo npm update -g
|
2016-04-11 13:08:59 +02:00
|
|
|
- npm install gitbook-cli -g
|
|
|
|
- npm install gitbook-plugin-autocover
|
|
|
|
- npm install gitbook-plugin-github
|
|
|
|
- npm install gitbook-plugin-toc
|
2016-04-25 11:05:40 +02:00
|
|
|
- npm install gitbook-plugin-anchors
|
2016-04-11 13:08:59 +02:00
|
|
|
|
|
|
|
script:
|
2016-04-25 11:05:40 +02:00
|
|
|
- gitbook install
|
2016-04-11 13:08:59 +02:00
|
|
|
- gitbook build
|