Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting travis to build the npm related stuff #168

Merged
merged 3 commits into from
Mar 6, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion panoramix/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def __get__(self, obj, objtype):
def list_minus(l, minus):
"""Returns l without what is in minus

>>> list_without([1, 2, 3], [2])
>>> list_minus([1, 2, 3], [2])
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

previous commit had a doctest that broke the build, this fixes it

[1, 3]
"""
return [o for o in l if o not in minus]
Expand Down