Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
todomvc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sven Franck
todomvc
Commits
fcb062f4
Commit
fcb062f4
authored
Apr 30, 2015
by
Sindre Sorhus
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1280 from tastejs/sjs/redirect-server-output
tests: Silence python logs
parents
13687648
e5d584b8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
.travis.yml
.travis.yml
+1
-1
travis-runner.sh
travis-runner.sh
+8
-1
No files found.
.travis.yml
View file @
fcb062f4
...
@@ -33,7 +33,7 @@ env:
...
@@ -33,7 +33,7 @@ env:
before_script
:
before_script
:
# install dependencies
# install dependencies
-
npm install -g gulp
-
npm install -g gulp
-
python -m SimpleHTTPServer &
-
python -m SimpleHTTPServer
> /dev/null 2>&1
&
-
sleep
2
-
sleep
2
script
:
script
:
# We want to gate on passing tests and a successful build
# We want to gate on passing tests and a successful build
...
...
travis-runner.sh
View file @
fcb062f4
...
@@ -20,7 +20,14 @@ else
...
@@ -20,7 +20,14 @@ else
git fetch current
&&
\
git fetch current
&&
\
cd
browser-tests/
&&
\
cd
browser-tests/
&&
\
npm i
&&
\
npm i
&&
\
git diff HEAD current/master
--name-only
|
awk
'BEGIN {FS = "/"}; {print $1 "/" $2 "/" $3}'
|
uniq
|
grep
-v
\/\/
|
grep
examples |
awk
-F
'[/]'
'{print "--framework=" $2}'
| xargs npm run
test
--
changes
=
$(
git diff HEAD origin/master
--name-only
|
awk
'BEGIN {FS = "/"}; {print $1 "/" $2 "/" $3}'
|
uniq
|
grep
-v
\/\/
|
grep
examples |
awk
-F
'[/]'
'{print "--framework=" $2}'
)
if
[
"
${#
changes
}
"
=
0
]
then
exit
0
else
echo
changes | xargs npm run
test
--
fi
exit
$?
exit
$?
fi
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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