fix travis builds (#1356)

This commit is contained in:
Nathan White 2017-01-08 14:06:00 -05:00 committed by Guillermo Rauch
parent ed990d473b
commit 2b56ab27ad

View file

@ -33,6 +33,9 @@ before_install:
- mkdir -p /tmp/git-lfs && curl -L https://github.com/github/git-lfs/releases/download/v1.2.1/git-lfs-$([ "$TRAVIS_OS_NAME" == "linux" ] && echo "linux" || echo "darwin")-amd64-1.2.1.tar.gz | tar -xz -C /tmp/git-lfs --strip-components 1 && /tmp/git-lfs/git-lfs pull
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; sleep 3; fi
install:
- npm install
before_script:
- npm prune