remove needing sudo

This commit is contained in:
DD Liu 2019-08-01 15:24:11 -04:00
parent 5178e28a7f
commit bc974fcead

View file

@ -1,15 +1,20 @@
language: node_js
sudo: required
dist: trusty
node_js:
- 8
cache:
directories:
- node_modules
addons:
apt:
packages:
- libcairo2-dev
- libpango1.0-dev
- libssl-dev
- libjpeg62-dev
- libgif-dev
install:
- npm --production=false install
- npm --production=false update
- sudo apt-get update && sudo apt-get install -y libcairo2-dev libpango1.0-dev libssl-dev libjpeg62-dev libgif-dev pkg-config
- npm install --no-save canvas@1.6.11
before_deploy:
- npm --no-git-tag-version version 0.2.0-prerelease.$(date +%Y%m%d%H%M%S)