Skip to content
GitLab
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
a12466ae
Commit
a12466ae
authored
5 years ago
by
Mark Otto
Committed by
Mark Otto
5 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Prep for migration to GitHub Actions CI/CD
parent
34afe844
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.github/workflows/test.yml
+44
-0
.github/workflows/test.yml
.travis.yml
+0
-19
.travis.yml
README.md
+1
-1
README.md
with
45 additions
and
20 deletions
+45
-20
.github/workflows/test.yml
0 → 100644
+
44
-
0
View file @
a12466ae
name
:
Run tests
on
:
[
push
,
pull_request
]
jobs
:
run
:
name
:
Node ${{ matrix.node }}
runs-on
:
ubuntu-latest
strategy
:
matrix
:
node
:
[
8
,
10
,
12
]
steps
:
-
uses
:
actions/checkout@master
with
:
fetch-depth
:
3
-
name
:
Set Node.js version
uses
:
actions/setup-node@v1.1.0
with
:
version
:
${{ matrix.node }}
-
run
:
node --version
-
run
:
npm --version
-
run
:
java -version
-
name
:
Install npm dependencies
run
:
npm ci
-
name
:
Run tests
run
:
npm test
-
name
:
Run BrowserStack tests
run
:
npm run js-test-cloud
if
:
matrix.node == 10 && github.repository == 'twbs/bootstrap' && github.event_name == 'push'
env
:
BROWSER_STACK_ACCESS_KEY
:
"
${{
secrets.BROWSER_STACK_ACCESS_KEY
}}"
BROWSER_STACK_USERNAME
:
"
${{
secrets.BROWSER_STACK_USERNAME
}}"
-
name
:
Run Coveralls
run
:
npm run coveralls
if
:
matrix.node ==
10
env
:
COVERALLS_REPO_TOKEN
:
"
${{
secrets.COVERALLS_REPO_TOKEN
}}"
This diff is collapsed.
Click to expand it.
.travis.yml
deleted
100644 → 0
+
0
-
19
View file @
34afe844
addons
:
chrome
:
stable
language
:
node_js
git
:
depth
:
3
node_js
:
-
"
8"
-
"
10"
-
"
12"
before_script
:
-
google-chrome-stable --product-version
script
:
-
npm test || travis_terminate
1
-
if [[ "$TRAVIS_NODE_VERSION" = "10" && "$TRAVIS_EVENT_TYPE" = "push" && ! `git log --format=%B --no-merges -n 1 | grep '\[skip browser\]'` ]]; then npm run js-test-cloud; fi
after_success
:
-
if [[ "$TRAVIS_NODE_VERSION" = "10" ]]; then npm run coveralls; fi
cache
:
npm
notifications
:
email
:
false
This diff is collapsed.
Click to expand it.
README.md
+
1
-
1
View file @
a12466ae
...
@@ -53,7 +53,7 @@ Read the [Getting started page](https://getbootstrap.com/docs/4.3/getting-starte
...
@@ -53,7 +53,7 @@ Read the [Getting started page](https://getbootstrap.com/docs/4.3/getting-starte
## Status
## Status
[

](https://travis-ci.org
/twbs/bootstrap)

[

](https://www.npmjs.com/package/bootstrap)
[

](https://www.npmjs.com/package/bootstrap)
[

](https://rubygems.org/gems/bootstrap)
[

](https://rubygems.org/gems/bootstrap)
[

](https://atmospherejs.com/twbs/bootstrap)
[

](https://atmospherejs.com/twbs/bootstrap)
...
...
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