Skip to content

Commit f6067fb

Browse files
author
Emmanouil Konstantinidis
committed
Move npm install to .travis.yml
1 parent c0a3f29 commit f6067fb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: .travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ env:
1212
- DJANGO_VERSION=1.9
1313

1414
install:
15+
- npm install
1516
- pip install -r requirements.txt
1617
- pip install -U Django==$DJANGO_VERSION
1718
- pip install codecov

Diff for: runtests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def flake8_main(args):
2525

2626
def run_tests_eslint():
2727
print('Running: eslint')
28-
command = subprocess.call(['cd rest_framework_docs/static/ && npm install && npm test'], shell=True)
28+
command = subprocess.call(['cd rest_framework_docs/static/ && npm test'], shell=True)
2929
print("" if command else "Success. eslint passed.")
3030
return command
3131

0 commit comments

Comments
 (0)