diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-03-27 12:11:04 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-03-27 18:06:59 -0700 |
commit | 1fb0a609e7a6f7ea1452622023f917ae2a647552 (patch) | |
tree | 08db10824850fd7854edaa2b30ca470a86c28e2a /.travis.yml | |
parent | c34826d1ca183a29f73eb056f69c59a50091ec4d (diff) | |
parent | 0261598fb49f4ac0509dac0c27f867861dc742a0 (diff) | |
download | scala-1fb0a609e7a6f7ea1452622023f917ae2a647552.tar.gz scala-1fb0a609e7a6f7ea1452622023f917ae2a647552.tar.bz2 scala-1fb0a609e7a6f7ea1452622023f917ae2a647552.zip |
Import markdown spec under spec/
The bulk of the effort was done in:
https://github.com/iainmcgin/scala-ref-markdown/
I just ported it to redcarpet 3.1, added a jekyll build to run on Travis,
and fixed some long-standing spec bugs.
As described in spec/README.md, for now we're only generating
an html page per each chapter with a rudimentary toc index.
We'll focus on presenting this more nicely first, and then
look into a pdf / single-page html version.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..0bd7db1f62 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,21 @@ +# this builds the spec using jekyll +# based on http://www.paperplanes.de/2013/8/13/deploying-your-jekyll-blog-to-s3-with-travis-ci.html +language: ruby +rvm: + - 1.9.3 +script: bundle exec jekyll build -s spec/ -d build/spec +install: bundle install + +# https://gist.github.com/kzap/5819745, http://docs.travis-ci.com/user/travis-pro/ +env: + - secure: "WWU490z7DWAI8MidMyTE+i+Ppgjg46mdr7PviF6P6ulrPlRRKOtKXpLvzgJoQmluwzEK6/+iH7D5ybCUYMLdKkQM9kSqaXJ0jeqjOelaaa1LmuOQ8IbuT8O9DwHzjjp/n4Lj/KRvvN4nGxCMI7HLla4gunvPA7M6WK7FA+YKCOU=" # set PRIV_KEY_SECRET to password used to encrypt spec/id_dsa_travis.enc + +# using S3 would be simpler, but we want to upload to scala-lang.org +# after_success: bundle exec s3_website push --headless +# the key is restricted using forced commands so that it can only upload to the directory we need here +after_success: + - openssl aes-256-cbc -pass "pass:$PRIV_KEY_SECRET" -in spec/id_dsa_travis.enc -out spec/id_dsa_travis -d -a + - ssh-add -D + - chmod 600 spec/id_dsa_travis + - ssh-add spec/id_dsa_travis + - rsync -rzv build/spec/ scalatest@chara.epfl.ch:/home/linuxsoft/archives/scala/spec/2.11/
\ No newline at end of file |