Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
package_control_channel
Project
Project
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
Gaurav Kukreja
package_control_channel
Commits
de1df4ab
Commit
de1df4ab
authored
Dec 18, 2012
by
Kevin Yank
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use Travis CI to check JSON validity of repositories.json.
parent
94266217
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
.travis.yml
.travis.yml
+5
-0
__init__.py
tests/__init__.py
+0
-0
test.py
tests/test.py
+5
-0
No files found.
.travis.yml
0 → 100644
View file @
de1df4ab
language
:
python
python
:
-
"
2.7"
#command to run tests
script
:
nosetests
tests/__init__.py
0 → 100644
View file @
de1df4ab
tests/test.py
0 → 100644
View file @
de1df4ab
import
json
def
test_json_is_valid
():
fp
=
open
(
"repositories.json"
)
json
.
load
(
fp
)
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