language: node_js
node_js:
  - "10"

before_install:
  - rvm install 2.6.0

install:
  - bundle install
  - npm install -g lodash marked varstream svgicons2svgfont node-gyp ttf2woff2
  - npm install -g gulp-cli
  - npm install

before_script: bin/rspec

script: bundle exec middleman build --clean

branches:
  only:
    - master

language: node_js
node_js:
  - "10"

before_install:
  - rvm install 2.6.0
  - gem update --system
  - gem install bundler

install:
  - bundle install
  - npm install -g lodash marked varstream svgicons2svgfont node-gyp ttf2woff2
  - npm install -g gulp-cli
  - npm install

before_script: bin/rspec

script: bundle exec middleman build --clean

branches:
  only:
    - master

Fix bundler issue on Travis CI.
Fix bundler issue on Travis CI.

* https://docs.travis-ci.com/user/languages/ruby/#bundler-20
