bootlint/.travis.yml

39 строки
1.7 KiB
YAML

{
"language": "node_js",
"node_js": ["0.12"],
"before_install": [
"travis_retry sudo pip install -r test-infra/requirements.txt",
"rvm use 1.9.3 --fuzzy",
"export GEMDIR=$(rvm gemdir)",
"echo \"ruby=$(basename $GEMDIR) jekyll=$JEKYLL_VERSION rouge=$ROUGE_VERSION\" > pseudo_Gemfile.lock"
],
"install": [
"npm install -g grunt-cli",
"./test-infra/s3_cache.py download npm-modules",
"./test-infra/s3_cache.py download rubygems"
],
"before_script": [
"git clone --depth 1 https://github.com/twbs/bootstrap.git",
"pushd bootstrap && jekyll build; popd"
],
"script": [
"npm test",
"./src/cli.js bootstrap/_gh_pages/**/index.html",
"./src/cli.js --disable W003,E001 test/fixtures/doctype/missing.html test/fixtures/viewport/missing.html"
],
"after_script": [
"npm run coveralls",
"./test-infra/s3_cache.py upload npm-modules",
"./test-infra/s3_cache.py upload rubygems"
],
"env": {
"global": [
{"JEKYLL_VERSION": "2.5.3"},
{"ROUGE_VERSION": "1.8.0"},
{"secure": "dRdiG/5UykFAVW6GWWcaNHGSPy16PiCeF9XySPDdCSbw+pI2zqE8VNyXgn1kORhLFsKjdIQaLnmFWR1Xw7sP59zpnIRUkZ77spw7hKNf1RlAv3uckE8LFxO1FkMFNOlSHgmCXnyseUNGMDL/lIBMCLfsTOlc6KvbQir7pz+TDwM="},
{"secure": "Ej9x2sBilYq9Wr86j7NujcPN0qAMHgUzjB9tX0vN90nKOPfAmWWcO9omFzwkuH0VZkZmauK/YQlEqKhx99quVwRHctu0LhZRnBgaCnsGp6CnRorFW4IKZwJSM38BF9XXvCCnQtz6PyItpE+ycbpFI0MHvs0H3BXFmwifvY/Q4/Y="},
{"secure": "Oq9mxJduZiy0oZmKlg3kkFFWlBTuCynRpZoz0SyG3hHt2uipWfXlm0AlpcjU6jB6g8kNtGF4ZA5uGiMUePSOfK0RveYQa95ixUY6VrbuAIzdDtz/rbMajtGCVpMBgOf5o33rEfocwgADE/i1lE1JJeNjdUBsO1Iyron1ZiT52mE="}
]
}
}