Skip to content

Commit

Permalink
Adding npm sync-backend command to build instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Feb 16, 2017
1 parent 09f1f04 commit 58ea249
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,4 @@ install:
- pip install --upgrade pip
- pip install tox tox-travis
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
- npm install
script: tox -e $TOX_ENV
1 change: 0 additions & 1 deletion run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ rm -f .coverage
export SUPERSET_CONFIG=tests.superset_test_config
set -e
superset/bin/superset db upgrade
superset/bin/superset db upgrade # running twice on purpose as a test
superset/bin/superset version -v
python setup.py nosetests
coveralls
5 changes: 5 additions & 0 deletions superset/assets/js_sync_backend.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -e
cd "$(dirname "$0")"
npm install
npm run sync-backend
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ commands =
pip wheel -w {homedir}/.wheelhouse -f {homedir}/.wheelhouse .
pip install --find-links={homedir}/.wheelhouse --no-index .
pip install -r dev-reqs.txt
{toxinidir}/superset/assets/js_sync_backend.sh
{toxinidir}/run_tests.sh

[testenv:javascript]
Expand Down

0 comments on commit 58ea249

Please sign in to comment.