misp-book/.travis.yml

27 lines
640 B
YAML
Raw Normal View History

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
- sudo npm config set strict-ssl false
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
- 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
- npm install gitbook-plugin-image-class
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