Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sass
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
楚学文
node-sass
Commits
ea6e470d
Commit
ea6e470d
authored
Jun 10, 2016
by
Nick Schonning
Committed by
GitHub
Jun 10, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1583 from nschonni/fix-travis-coverage-var
Chore: Fix Coveralls conditional for Travis-CI
parents
f9122164
491c3a4e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
.travis.yml
.travis.yml
+1
-1
coverage.js
scripts/coverage.js
+1
-1
No files found.
.travis.yml
View file @
ea6e470d
...
@@ -49,7 +49,7 @@ script:
...
@@ -49,7 +49,7 @@ script:
-
npm test
-
npm test
after_success
:
after_success
:
-
if [ $TRAVIS_OS_NAME == "linux" ] && [ $NODE_VERSION == "4" ]; then
-
if [ $TRAVIS_OS_NAME == "linux" ] && [ $
TRAVIS_
NODE_VERSION == "4" ]; then
npm run-script coverage;
npm run-script coverage;
fi
fi
...
...
scripts/coverage.js
View file @
ea6e470d
...
@@ -10,7 +10,7 @@ var Mocha = require('mocha'),
...
@@ -10,7 +10,7 @@ var Mocha = require('mocha'),
Instrumenter
=
require
(
'istanbul'
).
Instrumenter
,
Instrumenter
=
require
(
'istanbul'
).
Instrumenter
,
Report
=
require
(
'istanbul'
).
Report
,
Report
=
require
(
'istanbul'
).
Report
,
Collector
=
new
require
(
'istanbul'
).
Collector
,
Collector
=
new
require
(
'istanbul'
).
Collector
,
sourcefiles
=
[
'index.js'
,
'extensions.js'
,
'render.js'
],
sourcefiles
=
[
'index.js'
,
'extensions.js'
,
'render.js'
,
'errors.js'
],
summary
=
Report
.
create
(
'text-summary'
),
summary
=
Report
.
create
(
'text-summary'
),
lcov
=
Report
.
create
(
'lcovonly'
,
{
dir
:
path
.
join
(
'coverage'
)
}),
lcov
=
Report
.
create
(
'lcovonly'
,
{
dir
:
path
.
join
(
'coverage'
)
}),
html
=
Report
.
create
(
'html'
,
{
dir
:
path
.
join
(
'coverage'
,
'html'
)
});
html
=
Report
.
create
(
'html'
,
{
dir
:
path
.
join
(
'coverage'
,
'html'
)
});
...
...
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