2012-04-19 18:32:41 -04:00
|
|
|
language: node_js
|
2014-09-01 04:18:49 -04:00
|
|
|
git:
|
|
|
|
depth: 10
|
2012-04-19 18:32:41 -04:00
|
|
|
node_js:
|
2015-02-08 23:15:59 -05:00
|
|
|
- "0.12"
|
2013-12-13 06:03:15 -05:00
|
|
|
before_install:
|
2014-08-15 14:37:32 -04:00
|
|
|
- travis_retry sudo pip install -r test-infra/requirements.txt
|
2013-12-15 00:02:15 -05:00
|
|
|
- rvm use 1.9.3 --fuzzy
|
2014-04-03 14:55:52 -04:00
|
|
|
- export GEMDIR=$(rvm gemdir)
|
2014-07-08 13:46:10 -04:00
|
|
|
- if [ "$TWBS_TEST" = validate-html ]; then echo "ruby=$(basename $GEMDIR) jekyll=$JEKYLL_VERSION rouge=$ROUGE_VERSION" > pseudo_Gemfile.lock; fi
|
2014-05-18 18:48:40 -04:00
|
|
|
- "export TRAVIS_COMMIT_MSG=\"$(git log --format=%B --no-merges -n 1)\""
|
|
|
|
- echo "$TRAVIS_COMMIT_MSG" | grep '\[skip validator\]'; export TWBS_DO_VALIDATOR=$?; true
|
|
|
|
- echo "$TRAVIS_COMMIT_MSG" | grep '\[skip sauce\]'; export TWBS_DO_SAUCE=$?; true
|
2014-11-19 18:41:05 -05:00
|
|
|
- if [ "$TRAVIS_REPO_SLUG" = twbs-savage/bootstrap ]; then export TWBS_DO_VALIDATOR=0; fi
|
2013-12-13 06:03:15 -05:00
|
|
|
install:
|
2014-08-15 14:37:32 -04:00
|
|
|
- npm install -g grunt-cli
|
2014-04-03 16:18:50 -04:00
|
|
|
- ./test-infra/s3_cache.py download npm-modules
|
2014-05-18 18:50:07 -04:00
|
|
|
- if [ "$TWBS_TEST" = validate-html ] && [ $TWBS_DO_VALIDATOR -ne 0 ]; then ./test-infra/s3_cache.py download rubygems; fi
|
2013-12-13 06:03:15 -05:00
|
|
|
after_script:
|
2014-11-19 18:44:43 -05:00
|
|
|
- if [ "$TRAVIS_REPO_SLUG" != twbs-savage/bootstrap ] && [ "$TWBS_TEST" = core ]; then ./test-infra/s3_cache.py upload npm-modules; fi
|
|
|
|
- if [ "$TRAVIS_REPO_SLUG" != twbs-savage/bootstrap ] && [ "$TWBS_TEST" = validate-html ] && [ $TWBS_DO_VALIDATOR -ne 0 ]; then ./test-infra/s3_cache.py upload rubygems; fi
|
2013-07-30 12:41:17 -04:00
|
|
|
env:
|
|
|
|
global:
|
2015-01-30 08:14:57 -05:00
|
|
|
- JEKYLL_VERSION="2.5.3"
|
2015-02-16 04:10:28 -05:00
|
|
|
- ROUGE_VERSION="1.8.0"
|
2014-11-17 18:38:03 -05:00
|
|
|
- SAUCE_USERNAME="bootstrap"
|
2013-12-14 22:09:44 -05:00
|
|
|
- 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="
|
2014-11-19 22:38:21 -05:00
|
|
|
- secure: "RKWpS+P20b4tG9tawzCMJSmQftoonmC7tJzyGYiHuEM1TcpHALLBcnzKlr/+DiPTfzDJWY4kS8pxfhK4uXOe8OHnhpMNub7LEWtFPePlZIervOJcsOydaQocTKqVVWD6OUubMeQmQ+tZmvmpjoJ1uPPEbFs9ciF7+dv3U5tLUZ0="
|
|
|
|
- secure: "XswSKBY0HJ/aO9VOBeWlvGpqSFF/DsJmNKz7o5RkJMJX340qe44J929uUNwwOwlv9YrgptzC2W6l8bpmZQV+p6IYs99SoSA8CCaUfIJaqeU9x/UiT5vIHgqaNax+vFJwvzHLpF5v/ggFqFEKCd54gCDasePLTztHeC4oL104iaQ="
|
2014-11-19 18:51:11 -05:00
|
|
|
- secure: "Dv1HX5dzyTh8gA2YsLI+yWEgh9lnGKPpRDDEYYvm42fjBFziUYfcpvA9g8GXQuU9srY3mhfsZkCDHN0x5n1gliOai5TSjmd5Hh+9UyhvNWE+D8HoUpcFXWoQXvy/if2r25m+ZWi3cqgXkkBOcal3W1ePMtU4ln18NcWyIZ0tEFo="
|
|
|
|
- secure: "PabpUdG2dE40hHUkMCdxk1e9Ak3BOo0h7Y5/uekosLKOz5N60Xmn/ooyrSkvicLthXO4cfONFhO3/xSVRKQOxlUw4on5i0VuNK+QSqxJk0IDaRSZnTCcC8J7083K0YL+FvMdGQwcYwMY9LiwS8aS014IRkSQjsa+mjo3owP+dOU="
|
|
|
|
- secure: "G4/f4PVyVi9o6UbZMqw9YFmDu7cHqe9iymiXYd1RcnPXwhWAePX12m0PWMhUj5itJ180PTEddVip8PNOgBdqyrDxEPKkcgAW2EElVAPIKJXVfvDW64UjQ0H7NS7XvF7iLQUJp/XfmR7NJ7tT393AQdh8SGmuQpJhgYbwIWbES/k="
|
2013-12-14 22:09:44 -05:00
|
|
|
matrix:
|
|
|
|
- TWBS_TEST=core
|
|
|
|
- TWBS_TEST=validate-html
|
|
|
|
- TWBS_TEST=sauce-js-unit
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
2014-05-08 02:37:41 -04:00
|
|
|
notifications:
|
|
|
|
slack: heybb:iz4wwosL0N0EdaX1gvgkU0NH
|
2014-11-19 17:43:45 -05:00
|
|
|
webhooks:
|
|
|
|
- http://savage.twbsapps.com/savage/travis
|