Skip to content

Commit

Permalink
Merge branch 'release/v1.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
metasim committed Jan 9, 2017
2 parents 2fcdb5c + db0594b commit db230f8
Show file tree
Hide file tree
Showing 104 changed files with 1,281 additions and 463 deletions.
44 changes: 35 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@ language: scala
scala:
- 2.10.6
jdk:
- openjdk6
env:
- SBT_OPTS="-XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:PermSize=256M -XX:MaxPermSize=512M"
- openjdk7

script:
- sbt ++$TRAVIS_SCALA_VERSION --warn update compile scripted
before_script:
- export PATH=$PATH:$HOME/bin/

before_install:
- rvm install 2.2.3
script:
- sbt ++$TRAVIS_SCALA_VERSION --warn update compile scripted make-site

sudo: false

Expand All @@ -33,6 +31,34 @@ install:
mv $TRAVIS_BUILD_DIR/hugo $HOME/bin/hugo && \
chmod +x $HOME/bin/hugo && \
rm -rf $TRAVIS_BUILD_DIR/download/
- git fetch --tags

before_script:
- export PATH=$PATH:$HOME/bin/
before_cache:
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm

cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/

#travis-deploy
before_deploy:
# Record minimal build information via the Git user ident
- git config --global user.name "$USER"
- git config --global user.email "$TRAVIS_BUILD_NUMBER@$TRAVIS_COMMIT"
# Decrypt the secret deploy key using instructions from `travis encrypt-file`
- openssl aes-256-cbc -K $encrypted_3afbfedfa397_key -iv $encrypted_3afbfedfa397_iv -in project/travis-deploy-key.enc -out project/travis-deploy-key -d
- chmod 600 project/travis-deploy-key
# Start ssh-agent in the background and load the deploy key
- eval "$(ssh-agent -s)"
- ssh-add project/travis-deploy-key

deploy:
provider: script
script: sbt ghpagesPushSite
skip_cleanup: true
on:
tags: true
condition: $TRAVIS_PULL_REQUEST = false
#travis-deploy
Loading

0 comments on commit db230f8

Please sign in to comment.