puppet-wp/.travis.yml
2019-09-18 13:26:41 +10:00

27 lines
756 B
YAML

env:
- PUPPET_VERSION=3.8.5
matrix:
include:
- language: ruby
rvm: 2.1.10
install:
- bundle install
- bundle exec rake spec
script:
- puppet-lint --fail-on-warnings --no-140chars-check --no-2sp_soft_tabs-check --no-hard_tabs-check --no-names_containing_dash-check --no-autoloader_layout-check --no-nested_classes_or_defines-check manifests
- language: node_js
node_js:
- lts/*
install:
- npm ci
script:
- npm run docs:build
deploy:
provider: pages
skip-cleanup: true
local_dir: docs/.vuepress/dist
github-token: $GITHUB_TOKEN
keep-history: true
target_branch: gh-pages
on:
branch: master