Skip to content

Commit 5e61ea8

Browse files
Merge pull request #441 from pattern-lab/issue/438-runAllTestsTravis
Issue/438 run all tests travis
2 parents c9a8ff8 + 7a74545 commit 5e61ea8

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,15 @@ before_install:
1111

1212
before_script:
1313
- npm install -g grunt-cli
14+
- npm install patternengine-node-underscore
15+
- npm install patternengine-node-handlebars
16+
- npm install patternengine-node-twig
1417

1518
branches:
1619
only:
1720
- master
1821
- dev
22+
- issue/438-runAllTestsTravis
1923

2024
notifications:
2125
webhooks:

core/lib/ui_builder.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ var ui_builder = function () {
8282
* @returns boolean - whether or not the pattern is excluded
8383
*/
8484
function isPatternExcluded(pattern, patternlab) {
85-
var styleGuideExcludes = patternlab.config.styleGuideExcludes;
8685
var isOmitted;
8786

8887
// skip underscore-prefixed files
@@ -506,7 +505,7 @@ var ui_builder = function () {
506505
});
507506
if (omitPatternType) {
508507
if (patternlab.config.debug) {
509-
console.log('Omitting ' + patternType+ ' from building a viewall page because its patternGroup is specified in styleguideExcludes.');
508+
console.log('Omitting ' + patternType + ' from building a viewall page because its patternGroup is specified in styleguideExcludes.');
510509
}
511510
} else {
512511
patterns = patterns.concat(typePatterns);

patternlab-config.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,10 @@
5454
},
5555
"patternExportPatternPartials": [],
5656
"patternExportDirectory": "./pattern_exports/",
57-
"cacheBust": true
57+
"cacheBust": true,
58+
"outputFileSuffixes": {
59+
"rendered": ".rendered",
60+
"rawTemplate": "",
61+
"markupOnly": ".markup-only"
62+
}
5863
}

0 commit comments

Comments
 (0)