2014-07-11 13:14:25 +04:00
|
|
|
{
|
2015-09-02 16:44:31 +03:00
|
|
|
"sudo": false,
|
2014-07-11 13:14:25 +04:00
|
|
|
"language": "node_js",
|
2015-11-26 06:06:07 +03:00
|
|
|
"node_js": ["5"],
|
2014-09-26 04:11:15 +04:00
|
|
|
"before_install": [
|
2015-09-02 16:44:31 +03:00
|
|
|
"travis_retry pip install -r test-infra/requirements.txt --user",
|
2016-03-07 21:17:46 +03:00
|
|
|
"rvm install 2.2",
|
|
|
|
"rvm use 2.2 --fuzzy",
|
2014-09-26 04:11:15 +04:00
|
|
|
"export GEMDIR=$(rvm gemdir)",
|
2016-03-07 21:17:46 +03:00
|
|
|
"echo \"ruby=$(basename $GEMDIR) jekyll=$JEKYLL_VERSION\" > pseudo_Gemfile.lock"
|
2014-09-26 04:11:15 +04:00
|
|
|
],
|
|
|
|
"install": [
|
2014-07-14 13:34:37 +04:00
|
|
|
"npm install -g grunt-cli",
|
2014-09-26 04:11:15 +04:00
|
|
|
"./test-infra/s3_cache.py download npm-modules",
|
|
|
|
"./test-infra/s3_cache.py download rubygems"
|
|
|
|
],
|
|
|
|
"before_script": [
|
2014-09-16 02:40:51 +04:00
|
|
|
"git clone --depth 1 https://github.com/twbs/bootstrap.git",
|
2014-07-14 13:34:37 +04:00
|
|
|
"pushd bootstrap && jekyll build; popd"
|
|
|
|
],
|
|
|
|
"script": [
|
|
|
|
"npm test",
|
2015-11-25 11:56:33 +03:00
|
|
|
"./src/cli-main.js bootstrap/_gh_pages/**/index.html",
|
|
|
|
"./src/cli-main.js --disable W003,E001 test/fixtures/doctype/missing.html test/fixtures/viewport/missing.html",
|
|
|
|
"./src/cli-main.js test/fixtures/x-ua-compatible/missing.html &> x-ua-compatible-missing.output.actual.txt || true",
|
2015-11-25 11:39:39 +03:00
|
|
|
"diff test/fixtures/cli/x-ua-compatible-missing.output.txt x-ua-compatible-missing.output.actual.txt"
|
2014-09-26 04:11:15 +04:00
|
|
|
],
|
|
|
|
"after_script": [
|
2014-10-18 01:30:41 +04:00
|
|
|
"npm run coveralls",
|
2014-09-26 04:11:15 +04:00
|
|
|
"./test-infra/s3_cache.py upload npm-modules",
|
|
|
|
"./test-infra/s3_cache.py upload rubygems"
|
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"global": [
|
2016-03-07 21:17:46 +03:00
|
|
|
{"JEKYLL_VERSION": "3.1.2"},
|
2014-09-26 04:11:15 +04:00
|
|
|
{"secure": "dRdiG/5UykFAVW6GWWcaNHGSPy16PiCeF9XySPDdCSbw+pI2zqE8VNyXgn1kORhLFsKjdIQaLnmFWR1Xw7sP59zpnIRUkZ77spw7hKNf1RlAv3uckE8LFxO1FkMFNOlSHgmCXnyseUNGMDL/lIBMCLfsTOlc6KvbQir7pz+TDwM="},
|
|
|
|
{"secure": "Ej9x2sBilYq9Wr86j7NujcPN0qAMHgUzjB9tX0vN90nKOPfAmWWcO9omFzwkuH0VZkZmauK/YQlEqKhx99quVwRHctu0LhZRnBgaCnsGp6CnRorFW4IKZwJSM38BF9XXvCCnQtz6PyItpE+ycbpFI0MHvs0H3BXFmwifvY/Q4/Y="},
|
|
|
|
{"secure": "Oq9mxJduZiy0oZmKlg3kkFFWlBTuCynRpZoz0SyG3hHt2uipWfXlm0AlpcjU6jB6g8kNtGF4ZA5uGiMUePSOfK0RveYQa95ixUY6VrbuAIzdDtz/rbMajtGCVpMBgOf5o33rEfocwgADE/i1lE1JJeNjdUBsO1Iyron1ZiT52mE="}
|
|
|
|
]
|
|
|
|
}
|
2014-07-11 13:14:25 +04:00
|
|
|
}
|