Permalink
Browse files

Updated Travis config.

  • Loading branch information...
1 parent 17fb693 commit 3fefe99e19c7b7be2c6dd39a170ded198cb4443e @milessabin committed Mar 21, 2016
Showing with 6 additions and 5 deletions.
  1. +1 −0 .gitignore
  2. +2 −2 .travis.yml
  3. +3 −3 build.sbt
View
@@ -1,5 +1,6 @@
# Ignore local configuration
.sbtrc
+scripts/travis-config.sh
scratch/
target/
View
@@ -18,8 +18,8 @@ script:
env:
global:
- - secure: jFz1aWhx2zBWz1jNTeqxxfy2+4v25SiJIlO2HGd0Iu3921Rd7lJp+4fnSZlwxcDpIS5/laqu7jAxOR2o2QecBNQBtBMwSFfTFsAnJNHi6c2qB4Ns2HBJrYjoQ/sZFEqoJw62M5/ECU2qK+TzLdDYdULqlF4inlkIrVEj2av7oyw=
- - secure: yK4+dMyjKhoNOvDvUsGR/Q9iYeP4pe6ibKX7o4WkHyTYb9ohS4CrrcpSF2N8eSqAQK7I/CW66tLH01HFPp2vQ4L+zlmJi6bLkxEZCvXXbMBbUMHdaiLvTsvJeu+DlwA1BlGPkAGLrD7SvGK38R7A7NQT3AutEz3V6XUMWWd2CDs=
+ - secure: eXcMQIb0hHeaJsJGaJYhLS8aONu5YnhK1NOHJZGTBIb6ukSd48uXm6xNgBMozgkOEUBXyrBU9ZnCOxSS+HmJZDbK0Wkr90C4sZH7dHBZYMN3hNfCp5SjPFY2+TgrYZ24G8s/BPei6725AlbXM0vmdXPsvxaOvT36d2Ej7xto8+c=
+ - secure: c3IO3G34aTFD+fh/5vqc3sCgwMaClPDziYQDCEUqQBOQFdTS7wbBZFVpqTUUlkMLkeyHZ0BGSLUiDZnu8TGGITtgJBaCUchhLYK5WOavyzCl/NPVOBebviazgtBOzPDKyYDcahjmxCGrMspTiRei86VgCdkNIvldJJm7zK1OAOU=
sudo: false
View
@@ -264,6 +264,6 @@ lazy val releaseSettings = Seq(
)
credentials ++= (for {
- user <- sys.env.get("SONATYPE_USER")
- pass <- sys.env.get("SONATYPE_PASS")
-} yield Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", user, pass)).toSeq
+ username <- Option(System.getenv().get("SONATYPE_USERNAME"))
+ password <- Option(System.getenv().get("SONATYPE_PASSWORD"))
+} yield Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", username, password)).toSeq

0 comments on commit 3fefe99

Please sign in to comment.