Commit 2d84f108 authored by Carlos Rodriguez's avatar Carlos Rodriguez

Fix use of deprecated apt-key cmd

parent a758f791
......@@ -14,7 +14,8 @@ before_script:
- apt-get install apt-transport-https -yqq
# Add keyserver for SBT
- echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | tee -a /etc/apt/sources.list.d/sbt.list
- apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
- curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/scalasbt.gpg --import
- chmod 644 /etc/apt/trusted.gpg.d/scalasbt.gpg
# Install SBT
- apt-get update -yqq
- apt-get install sbt -yqq
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment