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
2c6d16da
Commit
2c6d16da
authored
Dec 22, 2012
by
Will Bond
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #885 from sentience/feature_travis_ci
Use Travis CI to check JSON validity of repositories.json.
parents
7d0c1d75
de1df4ab
Hide 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 @
2c6d16da
language
:
python
python
:
-
"
2.7"
#command to run tests
script
:
nosetests
tests/__init__.py
0 → 100644
View file @
2c6d16da
tests/test.py
0 → 100644
View file @
2c6d16da
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