Skip to content

Commit

Permalink
Run lint tests on Travis temp (oppia#6328)
Browse files Browse the repository at this point in the history
  • Loading branch information
apb7 authored Feb 25, 2019
1 parent 0e1fc48 commit 09cc61c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ workflows:
circleci_tests:
jobs:
- setup
- lint_tests:
requires:
- setup
# - lint_tests:
# requires:
# - setup
- frontend_tests:
requires:
- setup
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ branches:

env:
matrix:
- RUN_LINT=true
# These lines are commented out because these checks are being run on CircleCI
# here: https://circleci.com/gh/oppia/oppia
# - RUN_LINT=true
# - RUN_FRONTEND_TESTS=true
# - RUN_BACKEND_TESTS=true REPORT_BACKEND_COVERAGE=false EXCLUDE_LOAD_TESTS=true
# TODO(sll): Reinstate this when we can get it to run in reasonable time.
Expand Down Expand Up @@ -103,9 +103,9 @@ install:
- bash scripts/install_third_party.sh

script:
- if [ "$RUN_LINT" == 'true' ]; then python scripts/third_party_size_check.py; python scripts/pre_commit_linter.py --path=.; fi
# These lines are commented out because these checks are being run on CircleCI
# here: https://circleci.com/gh/oppia/oppia
# - if [ "$RUN_LINT" == 'true' ]; then python scripts/third_party_size_check.py; python scripts/pre_commit_linter.py --path=.; fi
# Travis aborts test run if nothing is printed back to STDOUT for some time.
# -x is used to avoid that.
# - if [ "$RUN_FRONTEND_TESTS" == 'true' ]; then travis_retry bash -x scripts/run_frontend_tests.sh --run-minified-tests=true; fi
Expand Down

0 comments on commit 09cc61c

Please sign in to comment.