Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
e296c137
Commit
e296c137
authored
7 years ago
by
Bardi Harborow
Committed by
XhmikosR
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Move Travis to build stages and fix skip browser flag. (#23961)
parent
2dcce4ec
7 merge requests
!28721
Hot test
,
!27561
Adds font-weight-medium to font weight classes
,
!25494
web pack
,
!25326
Adjust examples
,
!23995
Add back cursor: pointer for .btn-link
,
!23207
#22402 : modal: new autofocus & keyboardBtnNav options
,
!17021
v4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis.yml
+9
-12
.travis.yml
with
9 additions
and
12 deletions
+9
-12
.travis.yml
+
9
-
12
View file @
e296c137
...
...
@@ -8,27 +8,24 @@ node_js:
-
"
8"
before_install
:
-
if [[ `npm -v` != 5* ]]; then npm install -g npm@5; fi
-
"
export
TRAVIS_COMMIT_MSG=
\"
`git
log
--format=%B
--no-merges
-n
1`
\"
"
-
echo "$TRAVIS_COMMIT_MSG" | grep '\[skip browser\]'; export TWBS_DO_BROWSER=$?;
true
install
:
-
bundle install --deployment --jobs=3 --retry=3
-
npm install
script
:
-
npm test
-
if [ "$TWBS_TEST" = browser -a "$SAUCE_ACCESS_KEY" ]; then npm run js-test-cloud; fi
after_success
:
-
if [ "$TRAVIS_REPO_SLUG" = twbs-savage/bootstrap ]; then npm run docs-upload-preview; fi
stages
:
-
test
-
name
:
browser
if
:
type = push
jobs
:
include
:
-
stage
:
browser
node_js
:
8
script
:
if ! git log --format=%B --no-merges -n 1 | grep '\[skip browser\]'; then npm test && npm run js-test-cloud; fi
cache
:
directories
:
-
node_modules
-
vendor/bundle
env
:
-
TWBS_TEST=core
-
TWBS_TEST=browser
matrix
:
exclude
:
-
node_js
:
"
4"
env
:
TWBS_TEST=browser
notifications
:
slack
:
heybb:iz4wwosL0N0EdaX1gvgkU0NH
webhooks
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets