language: python | |
python: | |
- "2.7" | |
- "3.4" | |
cache: | |
directories: | |
- $HOME/.wheelhouse/ | |
before_install: | |
- npm install -g npm@'>=2.7.1' | |
install: | |
- pip wheel -w $HOME/.wheelhouse -f $HOME/.wheelhouse . | |
- pip install --find-links=$HOME/.wheelhouse --no-index . | |
- pip install --find-links=$HOME/.wheelhouse --no-index -r dev-reqs.txt | |
- cd caravel/assets | |
- npm --version | |
- npm install | |
- npm run lint | |
- npm run prod | |
- cd $TRAVIS_BUILD_DIR | |
script: bash run_tests.sh | |
after_success: | |
- coveralls |