diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2014-12-18 15:48:09 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2014-12-18 16:48:21 +1000 |
commit | eeeb5fcfe3440b126680b0c54bd33e79cacd7724 (patch) | |
tree | f512709c4682ad6355c950770e9f8ec29a6977f5 /.travis.yml | |
parent | 41ae70758a8c5b841a8b63445f82bd056a0a964f (diff) | |
download | scala-async-eeeb5fcfe3440b126680b0c54bd33e79cacd7724.tar.gz scala-async-eeeb5fcfe3440b126680b0c54bd33e79cacd7724.tar.bz2 scala-async-eeeb5fcfe3440b126680b0c54bd33e79cacd7724.zip |
Support tag driven publishing
I started with:
https://github.com/scala/scala-swing/commit/a6a8e1d77e#diff-3acefdae08499733e855dd23e1af933dR8
And:
- modified the regex that derives the version from the tag to
handle the fact we have the scala binary version appended to
our tags
- Removed unnessary cross building with Scala 2.11 (as this is
on the 2.10.x branch)
- generated a key pair for the async repository
- added passphrase for that key, and sonatype credentials, to
sensitive.sbt
- encrypted the secrets with the travis key.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 7fb860d..975aabf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,17 @@ language: scala + +env: + global: + - PUBLISH_JDK=openjdk6 # admin/build.sh only publishes when running on this jdk +# Don't commit sensitive files, instead commit a version encrypted with $SECRET, +# this environment variable is encrypted with this repo's private key and stored below: +# (See http://docs.travis-ci.com/user/environment-variables/#Secure-Variables.) + - secure: "YO/7YiWEirzz0EAy7oVNmAKroj4qCLZNMkPS+xW/VgeGjuEV+Nk1S7pwxF0o2OggSxIQ+a0lWSrOPQqSXMjOstDIzzGeYfuAt0+0fupXtDDge0mXpCCMadrvYzff1/5XYX0dJ+pjJmz6IgF1hliPJHIuddhhdqPxdHWTHAKm9ME=" + script: - - sbt ++$TRAVIS_SCALA_VERSION clean test publishLocal + - admin/build.sh scala: - - 2.10.3 - - 2.11.0-M6 + - 2.10.4 jdk: - openjdk6 - openjdk7 |