🚑 Fix snyk install on builds

This commit is contained in:
Gabriel SAILLARD (GitSquared) 2019-03-04 14:45:32 +01:00
parent 6f5be94ec4
commit 30b4f424db
No known key found for this signature in database
GPG Key ID: 4F615B5FE436611A

View File

@ -11,7 +11,7 @@ matrix:
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y libc6-dev-i386 gcc-multilib g++-multilib ; fi
- "if [[ \"$TRAVIS_OS_NAME\" == \"linux\" ]]; then curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | sudo bash; fi"
- sudo npm install -g snyk
- npm install -g snyk
before_script:
- npm install