2012-04-20 00:32:41 +02:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2014-01-04 16:46:05 +01:00
|
|
|
- "0.10"
|
2013-12-13 12:03:15 +01:00
|
|
|
before_install:
|
2013-12-15 06:02:15 +01:00
|
|
|
- time sudo pip install --use-mirrors -r test-infra/requirements.txt
|
|
|
|
- rvm use 1.9.3 --fuzzy
|
|
|
|
- if [ "$TWBS_TEST" = validate-html ]; then echo "ruby=$(basename $(rvm gemdir)) jekyll=$JEKYLL_VERSION" > pseudo_Gemfile.lock; fi
|
2013-12-13 12:03:15 +01:00
|
|
|
install:
|
2013-12-14 02:20:45 +01:00
|
|
|
- time npm install -g grunt-cli
|
2014-04-03 20:34:15 +02:00
|
|
|
- ./test-infra/s3_cache.py download 'npm packages' test-infra/npm-shrinkwrap.canonical.json ./node_modules || time ./test-infra/uncached-npm-install.sh
|
|
|
|
- if [ "$TWBS_TEST" = validate-html ]; then ./test-infra/s3_cache.py download rubygems pseudo_Gemfile.lock $(rvm gemdir) || time gem install -N jekyll -v $JEKYLL_VERSION; fi
|
2013-12-13 12:03:15 +01:00
|
|
|
after_script:
|
2014-04-03 20:34:15 +02:00
|
|
|
- if [ "$TWBS_TEST" = core ]; then ./test-infra/s3_cache.py upload 'npm packages' test-infra/npm-shrinkwrap.canonical.json ./node_modules; fi
|
|
|
|
- if [ "$TWBS_TEST" = validate-html ]; then ./test-infra/s3_cache.py upload rubygems pseudo_Gemfile.lock $(rvm gemdir); fi
|
2013-07-30 18:41:17 +02:00
|
|
|
env:
|
|
|
|
global:
|
2014-03-25 08:45:26 +01:00
|
|
|
- JEKYLL_VERSION: 1.5.0
|
2013-12-15 04:09:44 +01:00
|
|
|
- SAUCE_USERNAME: bootstrap
|
|
|
|
- secure: "pJkBwnuae9dKU5tEcCqccfS1QQw7/meEcfz63fM7ba7QJNjoA6BaXj08L5Z3Vb5vBmVPwBawxo5Hp0jC0r/Z/O0hGnAmz/Cz09L+cy7dSAZ9x4hvZePSja/UAusaB5ogMoO8l2b773MzgQeSmrLbExr9BWLeqEfjC2hFgdgHLaQ="
|
|
|
|
- secure: "gqjqISbxBJK6byFbsmr1AyP1qoWH+rap06A2gI7v72+Tn2PU2nYkIMUkCvhZw6K889jv+LhQ/ybcBxDOXHpNCExCnSgB4dcnmYp+9oeNZb37jSP0rQ+Ib4OTLjzc3/FawE/fUq5kukZTC7porzc/k0qJNLAZRx3YLALmK1GIdUY="
|
|
|
|
- secure: "Gghh/e3Gsbj1+4RR9Lh2aR/xJl35HWiHqlPIeSUqE9D7uDCVTAwNce/dGL3Ew7uJPfJ6Pgr70wD3zgu3stw0Zmzayax0hiDtGwcQCxVIER08wqGANK9C2Q7PYJkNTNtiTo6ehKWbdV4Z+/U+TEYyQfpQTDbAFYk/vVpsdjp0Lmc="
|
|
|
|
- secure: "RTbRdx4G/2OTLfrZtP1VbRljxEmd6A1F3GqXboeQTldsnAlwpsES65es5CE3ub/rmixLApOY9ot7OPmNixFgC2Y8xOsV7lNCC62QVpmqQEDyGFFQKb3yO6/dmwQxdsCqGfzf9Np6Wh5V22QFvr50ZLKLd7Uhd9oXMDIk/z1MJ3o="
|
|
|
|
matrix:
|
|
|
|
- TWBS_TEST=core
|
|
|
|
- TWBS_TEST=validate-html
|
|
|
|
- TWBS_TEST=sauce-js-unit
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|