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
497766a3
Commit
497766a3
authored
6 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
Travis: stop using a separate stage for Browser tests.
This should be faster.
parent
ca47a21b
1 merge request
!28721
Hot test
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis.yml
+3
-11
.travis.yml
package.json
+0
-1
package.json
with
3 additions
and
12 deletions
+3
-12
.travis.yml
+
3
-
11
View file @
497766a3
...
@@ -10,18 +10,10 @@ install:
...
@@ -10,18 +10,10 @@ install:
-
npm install
-
npm install
script
:
script
:
-
npm test
-
npm test
-
if [[ "$TRAVIS_NODE_VERSION" = "8" && "$TRAVIS_BUILD_STAGE_NAME" = "Test" ]]; then npm run check-broken-links; fi
-
if [[ "$TRAVIS_NODE_VERSION" = "8" ]]; then npm run check-broken-links; fi
-
if [[ "$TRAVIS_NODE_VERSION" = "8" && "$TRAVIS_EVENT_TYPE" = "push" && ! `git log --format=%B --no-merges -n 1 | grep '\[skip browser\]'` ]]; then npm run js-test-cloud; fi
after_success
:
after_success
:
-
if [[ "$TRAVIS_NODE_VERSION" = "8" && "$TRAVIS_BUILD_STAGE_NAME" = "Test" ]]; then npm run coveralls; fi
-
if [[ "$TRAVIS_NODE_VERSION" = "8" ]]; then npm run coveralls; 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 run js-test-cloud; fi
cache
:
cache
:
directories
:
directories
:
-
node_modules
-
node_modules
...
...
This diff is collapsed.
Click to expand it.
package.json
+
0
-
1
View file @
497766a3
...
@@ -56,7 +56,6 @@
...
@@ -56,7 +56,6 @@
"js-test-karma-old"
:
"cross-env USE_OLD_JQUERY=true npm run js-test-karma"
,
"js-test-karma-old"
:
"cross-env USE_OLD_JQUERY=true npm run js-test-karma"
,
"js-test-karma-bundle"
:
"cross-env BUNDLE=true npm run js-test-karma"
,
"js-test-karma-bundle"
:
"cross-env BUNDLE=true npm run js-test-karma"
,
"js-test-karma-bundle-old"
:
"cross-env BUNDLE=true USE_OLD_JQUERY=true npm run js-test-karma"
,
"js-test-karma-bundle-old"
:
"cross-env BUNDLE=true USE_OLD_JQUERY=true npm run js-test-karma"
,
"prejs-test-cloud"
:
"npm run js-compile && npm run js-test-karma"
,
"js-test-cloud"
:
"cross-env BROWSER=true npm run js-test-karma"
,
"js-test-cloud"
:
"cross-env BROWSER=true npm run js-test-karma"
,
"lint"
:
"npm-run-all --parallel js-lint* css-lint*"
,
"lint"
:
"npm-run-all --parallel js-lint* css-lint*"
,
"coveralls"
:
"shx cat js/coverage/lcov.info | coveralls"
,
"coveralls"
:
"shx cat js/coverage/lcov.info | coveralls"
,
...
...
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