Forked from mefellows/ scala-travis-ci-sonatype-yml
Created
October 16, 2015 21:51
-
-
Save malcolmgreaves/540f4f3d4407fe6b9af1 to your computer and use it in GitHub Desktop.
Scala - Travis CI Publish Sonatype YAML Sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: scala | |
scala: | |
- 2.10.4 | |
jdk: | |
- oraclejdk8 | |
- oraclejdk7 | |
services: mongodb | |
script: | |
- sbt scoverage:test | |
- sbt coveralls | |
env: | |
global: | |
- MONGO_PORT=27017 | |
- secure: d+Jo3HwjYCnpHLWFr0bsauv0/5OhKl0iSFlGlRo0Ybnv6ii9jo5qYUSV9gVXRFlypOfEmu3gCNzv6GxTLZsTivV38qpVJypDV0N1cGUl7nRmTanU0Ba9LjtusD6dCRqbfOhggdk4mNf7KFNJ6DA1NQHCRuwmOBCLtebu6WaMC5Y= | |
- secure: LumeI7Zr5Cpotm9pLv3F8116Vt5FwhITfnnqhTCA7iXcHVHVuUz+8mVk3PHuL45Nmbcpivc6B80DhFC5JqeXU3CCrftEETmH29A1uJlS6qkpfj6HjeN1yPVG4qCRWUM0Y/GlDkxH+DlTt5UCTPmRmR5OduLoZYT8iFnrE/74gfA= | |
- secure: IcZGkHw+qgLT/fHvw7Ifae7SRFybRFLXmA5zsaXBhKTSVTLTd7aTHrEau0+bkEBzk1Nu7SZKZMthV0JDJ+wwPCky5F7KLVX/Tqo9zJK/IJRqVKNtIRLUqb/9HlWyl11AgyZhE+6RcOATaEfDk1ncqye2ZkoKDlhOnTNZSqxCYBc= | |
after_success: | |
- > | |
test "${TRAVIS_PULL_REQUEST}" = 'false' && | |
test "${TRAVIS_JDK_VERSION}" = 'oraclejdk7' && | |
sbt 'set credentials += Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", System.getenv("SONATYPE_USER"), System.getenv("SONATYPE_PASS"))' publish |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment