-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alexey Gurianov
committed
Jun 22, 2015
1 parent
b918f1f
commit 0f1c336
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Test against this version of Node.js | ||
environment: | ||
nodejs_version: "0.10" | ||
|
||
# Install scripts. (runs after repo cloning) | ||
install: | ||
# Get the latest stable version of Node.js or io.js | ||
- ps: Install-Product node $env:nodejs_version | ||
# install modules | ||
- npm install | ||
|
||
# Post-install test scripts. | ||
test_script: | ||
# Output useful info for debugging. | ||
- node --version | ||
- npm --version | ||
# run tests | ||
- npm test | ||
|
||
# Don't actually build. | ||
build: off |
0f1c336
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@blond @sipayRT не пойму, почему под виндой билд упал. И тест и сама технология используют
os.EOL
. В логеAssertionError
с идентичными строками.0f1c336
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Технология генерит строки с
EOL
только внутри одного шаблона, а между шаблонами ставит\n
из-за justJoinFiles.А в тесте идёт проверка, что всё разделено с помощью
EOL
.0f1c336
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Спасибо. Какой вариант решения предложишь?
\n
вместоEOL
justJoinFiles
</script>\n<script type="text/ng-template" id="block1.tmpl.html">
в тестеENB
с использованиемEOL
вbuild-flow
0f1c336
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Лучший вариант — кинуть PR в ENB ;)
0f1c336
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
отличный вариант :)
0f1c336
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR то уже кинут. Но для меня все ещё актуален мой 5ый вариант.