add danger; build in venv

This commit is contained in:
jobevers 2017-02-15 11:01:37 -06:00
parent 205fd66a18
commit e1455c3a0d

View file

@ -19,6 +19,10 @@ cache:
- $HOME/Library/Caches/pip - $HOME/Library/Caches/pip
- $TRAVIS_BUILD_DIR/cache/wheel - $TRAVIS_BUILD_DIR/cache/wheel
before_install:
- virtualenv venv
- source venv/bin/activate
install: install:
- pip install -U pip - pip install -U pip
- pip install -r requirements.txt - pip install -r requirements.txt
@ -28,3 +32,4 @@ script:
- ./run_pylint.sh - ./run_pylint.sh
- pip install mock trial - pip install mock trial
- ./run_tests.sh - ./run_tests.sh
- rvm use 2.3.1 && gem install danger --version '~> 4.0' && danger; fi