Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
68cf4af2
Commit
68cf4af2
authored
9 years ago
by
Jesse Zoldak
Browse files
Options
Downloads
Plain Diff
Merge pull request #11442 from jzoldak/zoldak/TE-1131
Get tests running successfully on CircleCI
parents
e6f64429
855d4101
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
circle.yml
+6
-2
6 additions, 2 deletions
circle.yml
requirements/edx/base.txt
+1
-1
1 addition, 1 deletion
requirements/edx/base.txt
scripts/circle-ci-tests.sh
+3
-1
3 additions, 1 deletion
scripts/circle-ci-tests.sh
with
10 additions
and
4 deletions
circle.yml
+
6
−
2
View file @
68cf4af2
machine
:
python
:
version
:
2.7.
3
version
:
2.7.
10
general
:
artifacts
:
...
...
@@ -20,7 +20,7 @@ dependencies:
# cache the virtualenv at that state, so that
# the next build will not need to install them
# from scratch again.
-
pip install --exists-action w -r requirements/edx/pre.txt
-
pip install --exists-action w -r requirements/edx/pre.txt
-
pip install --exists-action w -r requirements/edx/github.txt
-
pip install --exists-action w -r requirements/edx/local.txt
...
...
@@ -34,6 +34,10 @@ dependencies:
-
pip install coveralls==1.0
# Output the installed python packages to the console to help
# with troubleshooting any issues with python requirements.
-
pip freeze
test
:
override
:
# Run tests for the system.
...
...
This diff is collapsed.
Click to expand it.
requirements/edx/base.txt
+
1
−
1
View file @
68cf4af2
...
...
@@ -37,7 +37,7 @@ djangorestframework-jwt==1.7.2
edx-opaque-keys==0.2.1
edx-organizations==0.3.1
edx-rest-api-client==1.2.1
edx-search==0.1.
1
edx-search==0.1.
2
facebook-sdk==0.4.0
feedparser==5.1.3
firebase-token-generator==1.3.2
...
...
This diff is collapsed.
Click to expand it.
scripts/circle-ci-tests.sh
+
3
−
1
View file @
68cf4af2
...
...
@@ -55,7 +55,9 @@ else
paver run_pep8
>
pep8.log
||
{
cat
pep8.log
;
EXIT
=
1
;
}
echo
"Finding pylint violations and storing in report..."
paver run_pylint
-l
$PYLINT_THRESHOLD
>
pylint.log
||
{
cat
pylint.log
;
EXIT
=
1
;
}
# HACK: we need to print something to the console, otherwise circleci
# fails and aborts the job because nothing is displayed for > 10 minutes.
paver run_pylint
-l
$PYLINT_THRESHOLD
|
tee
pylint.log
||
EXIT
=
1
mkdir
-p
reports
echo
"Finding jshint violations and storing report..."
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment