2015-09-28 14:51:20 -04:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.7"
|
2015-10-20 16:02:50 -04:00
|
|
|
- "3.4"
|
2015-10-20 01:27:13 -04:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.wheelhouse/
|
2016-03-27 17:22:28 -04:00
|
|
|
before_install:
|
|
|
|
- rm -rf ~/.npm
|
|
|
|
- mkdir ~/.npm
|
2015-09-28 16:58:47 -04:00
|
|
|
install:
|
2015-10-20 01:27:13 -04:00
|
|
|
- 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
|
2016-03-18 02:44:58 -04:00
|
|
|
- cd dashed/assets
|
2016-03-05 22:22:36 -05:00
|
|
|
- npm install
|
|
|
|
- npm run prod
|
2016-03-05 22:32:20 -05:00
|
|
|
- cd $TRAVIS_BUILD_DIR
|
2015-09-28 14:56:43 -04:00
|
|
|
script: bash run_tests.sh
|
2016-03-05 23:15:45 -05:00
|
|
|
after_success:
|
|
|
|
- coveralls
|
2016-03-18 02:44:58 -04:00
|
|
|
- cd dashed/assets
|
2016-03-05 23:15:45 -05:00
|
|
|
- npm run lint
|