Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
324fd0d7
Commit
324fd0d7
authored
Nov 19, 2014
by
Chris Rebert
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15177 from twbs/savage-sauce
Adjust build scripts for Savage
parents
34a7518b
6575755d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
.travis.yml
.travis.yml
+8
-2
Gruntfile.js
Gruntfile.js
+3
-1
No files found.
.travis.yml
View file @
324fd0d7
...
@@ -11,13 +11,14 @@ before_install:
...
@@ -11,13 +11,14 @@ before_install:
-
"
export
TRAVIS_COMMIT_MSG=
\"
$(git
log
--format=%B
--no-merges
-n
1)
\"
"
-
"
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 validator\]'; export TWBS_DO_VALIDATOR=$?;
true
-
echo "$TRAVIS_COMMIT_MSG" | grep '\[skip sauce\]'; export TWBS_DO_SAUCE=$?;
true
-
echo "$TRAVIS_COMMIT_MSG" | grep '\[skip sauce\]'; export TWBS_DO_SAUCE=$?;
true
-
if [ "$TRAVIS_REPO_SLUG" = twbs-savage/bootstrap ]; then export TWBS_DO_VALIDATOR=0; fi
install
:
install
:
-
npm install -g grunt-cli
-
npm install -g grunt-cli
-
./test-infra/s3_cache.py download npm-modules
-
./test-infra/s3_cache.py download npm-modules
-
if [ "$TWBS_TEST" = validate-html ] && [ $TWBS_DO_VALIDATOR -ne 0 ]; then ./test-infra/s3_cache.py download rubygems; fi
-
if [ "$TWBS_TEST" = validate-html ] && [ $TWBS_DO_VALIDATOR -ne 0 ]; then ./test-infra/s3_cache.py download rubygems; fi
after_script
:
after_script
:
-
if [ "$TWBS_TEST" = core ]; then ./test-infra/s3_cache.py upload npm-modules; fi
-
if [ "$T
RAVIS_REPO_SLUG" != twbs-savage/bootstrap ] && [ "$T
WBS_TEST" = core ]; then ./test-infra/s3_cache.py upload npm-modules; fi
-
if [ "$TWBS_TEST" = validate-html ] && [ $TWBS_DO_VALIDATOR -ne 0 ]; then ./test-infra/s3_cache.py upload rubygems; fi
-
if [ "$T
RAVIS_REPO_SLUG" != twbs-savage/bootstrap ] && [ "$T
WBS_TEST" = validate-html ] && [ $TWBS_DO_VALIDATOR -ne 0 ]; then ./test-infra/s3_cache.py upload rubygems; fi
env
:
env
:
global
:
global
:
-
JEKYLL_VERSION="2.5.1"
-
JEKYLL_VERSION="2.5.1"
...
@@ -27,6 +28,11 @@ env:
...
@@ -27,6 +28,11 @@ env:
-
secure
:
"
gqjqISbxBJK6byFbsmr1AyP1qoWH+rap06A2gI7v72+Tn2PU2nYkIMUkCvhZw6K889jv+LhQ/ybcBxDOXHpNCExCnSgB4dcnmYp+9oeNZb37jSP0rQ+Ib4OTLjzc3/FawE/fUq5kukZTC7porzc/k0qJNLAZRx3YLALmK1GIdUY="
-
secure
:
"
gqjqISbxBJK6byFbsmr1AyP1qoWH+rap06A2gI7v72+Tn2PU2nYkIMUkCvhZw6K889jv+LhQ/ybcBxDOXHpNCExCnSgB4dcnmYp+9oeNZb37jSP0rQ+Ib4OTLjzc3/FawE/fUq5kukZTC7porzc/k0qJNLAZRx3YLALmK1GIdUY="
-
secure
:
"
Gghh/e3Gsbj1+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4R89gm9r8Wnl/V03r14="
-
secure
:
"
Dv1HX5dzyTh8gA2YsLI+yWEgh9lnGKPpRDDEYYvm42fjBFziUYfcpvA9g8GXQuU9srY3mhfsZkCDHN0x5n1gliOai5TSjmd5Hh+9UyhvNWE+D8HoUpcFXWoQXvy/if2r25m+ZWi3cqgXkkBOcal3W1ePMtU4ln18NcWyIZ0tEFo="
-
secure
:
"
PabpUdG2dE40hHUkMCdxk1e9Ak3BOo0h7Y5/uekosLKOz5N60Xmn/ooyrSkvicLthXO4cfONFhO3/xSVRKQOxlUw4on5i0VuNK+QSqxJk0IDaRSZnTCcC8J7083K0YL+FvMdGQwcYwMY9LiwS8aS014IRkSQjsa+mjo3owP+dOU="
-
secure
:
"
G4/f4PVyVi9o6UbZMqw9YFmDu7cHqe9iymiXYd1RcnPXwhWAePX12m0PWMhUj5itJ180PTEddVip8PNOgBdqyrDxEPKkcgAW2EElVAPIKJXVfvDW64UjQ0H7NS7XvF7iLQUJp/XfmR7NJ7tT393AQdh8SGmuQpJhgYbwIWbES/k="
matrix
:
matrix
:
-
TWBS_TEST=core
-
TWBS_TEST=core
-
TWBS_TEST=validate-html
-
TWBS_TEST=validate-html
...
...
Gruntfile.js
View file @
324fd0d7
...
@@ -394,7 +394,9 @@ module.exports = function (grunt) {
...
@@ -394,7 +394,9 @@ module.exports = function (grunt) {
// Test task.
// Test task.
var
testSubtasks
=
[];
var
testSubtasks
=
[];
// Skip core tests if running a different subset of the test suite
// Skip core tests if running a different subset of the test suite
if
(
runSubset
(
'
core
'
))
{
if
(
runSubset
(
'
core
'
)
&&
// Skip core tests if this is a Savage build
process
.
env
.
TRAVIS_REPO_SLUG
!==
'
twbs-savage/bootstrap
'
)
{
testSubtasks
=
testSubtasks
.
concat
([
'
dist-css
'
,
'
dist-js
'
,
'
csslint:dist
'
,
'
test-js
'
,
'
docs
'
]);
testSubtasks
=
testSubtasks
.
concat
([
'
dist-css
'
,
'
dist-js
'
,
'
csslint:dist
'
,
'
test-js
'
,
'
docs
'
]);
}
}
// Skip HTML validation if running a different subset of the test suite
// Skip HTML validation if running a different subset of the test suite
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment