mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
Merge pull request #168 from mistercrunch/travis_npm
Getting travis to build the npm related stuff
This commit is contained in:
commit
a53dbfcfaa
11
.travis.yml
11
.travis.yml
@ -9,7 +9,12 @@ install:
|
||||
- pip wheel -w $HOME/.wheelhouse -f $HOME/.wheelhouse -r requirements.txt
|
||||
- pip install --find-links=$HOME/.wheelhouse --no-index -rrequirements.txt
|
||||
- python setup.py install
|
||||
|
||||
# command to run tests
|
||||
- cd panoramix/assets
|
||||
- npm install
|
||||
- npm run prod
|
||||
- cd $TRAVIS_BUILD_DIR
|
||||
script: bash run_tests.sh
|
||||
after_success: coveralls
|
||||
after_success:
|
||||
- coveralls
|
||||
- cd panoramix/assets
|
||||
- npm run lint
|
||||
|
@ -42,7 +42,7 @@ class memoized(object):
|
||||
def list_minus(l, minus):
|
||||
"""Returns l without what is in minus
|
||||
|
||||
>>> list_without([1, 2, 3], [2])
|
||||
>>> list_minus([1, 2, 3], [2])
|
||||
[1, 3]
|
||||
"""
|
||||
return [o for o in l if o not in minus]
|
||||
|
Loading…
Reference in New Issue
Block a user