Try builtin for 'apt'.

10.3.x-maintenance
mikeller 2018-05-21 00:48:39 +12:00
parent 19351017a0
commit 703659e7c4
1 changed files with 8 additions and 2 deletions

View File

@ -7,9 +7,15 @@ os:
node_js:
- 8.11.2
dist: trusty
sudo: false
addons:
apt:
packages:
- rpm
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y rpm; fi
- npm i -g npm@6.0.1
- npm install gulp -g