Permalink
Browse files

travis updates

  • Loading branch information...
1 parent 4609789 commit 0a9877f28e06d100b294df7234c64e58417b6903 @DanSimon DanSimon committed Mar 15, 2016
Showing with 13 additions and 7 deletions.
  1. +13 −7 .travis.yml
  2. BIN secrets.tar.enc
View
@@ -7,16 +7,22 @@ sudo: false
services:
- memcached
- redis
-script: if [ "$TRAVIS_SCALA_VERSION" = "2.10.6" ]; then sbt ++$TRAVIS_SCALA_VERSION testAll; else sbt ++$TRAVIS_SCALA_VERSION clean coverage testAll && sbt coverageReport && sbt coverageAggregate; fi
-
+cache:
+ directories:
+ - $HOME/.ivy2/cache
+ - $HOME/.sbt/boot/
+script:
+ - if [ "$TRAVIS_SCALA_VERSION" = "2.10.6" ]; then sbt ++$TRAVIS_SCALA_VERSION testAll; else sbt ++$TRAVIS_SCALA_VERSION clean coverage testAll && sbt coverageReport && sbt coverageAggregate; fi
+ - find $HOME/.sbt -name "*.lock" | xargs rm
+ - find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
env:
global:
- - secure: izNeghOzB8Z5m0j24XhqCVlAhgs56p10l6pR2DtotKC7Q7rSfunLH3YF+8ijBkxFBNocnb0/XWbCWOhFOpje+gogIkYNGwZkxAKRAIifWf/+w4fMoqpid+q9kQZYRT5Iv+lm1YEC3PxhwPKQWe+fhfjPE21YNY6XIaUyQ4p8kXA=
- - secure: KOt7FSG8FckBl49tfassG/fQKFMSAU/Xaz83UvEY0oAnFBbBSuSR/OkUd6NAHxFy/RotFsVoAxed8NgL8Nh7nsut3clXmhXuxhWsIOpR+q4wWrqA7KG+Fw4Q3SUsrICKGm92LnVsTeHKQ57qZ3mQaV/j/srmc+mrbi2kIYdmpFk=
- - secure: JjPl0W+YTRiANGnmPilLM0lZywkoH26YdQ5C9KrdMwbb92dxxR2D+qEbxVlH36sjOual3txeETTbmCbcTTdQCkbrND7+hSaHNx4vmj05P8HT5TwgQXmp9U4Sp7BapRezRS5KCr12fYaoaDE5xS3Anq/F5ErJDVv5x2HoXhmXEdo=
+ - secure: "guHisyOGUp5gIQvAFKJVIT4Z1+culpobzVApeEPyevx6pKqrRdlPV/TAAjwJH6a0nG+ejsqXVoF3+VX6u3kKX1w0jvTcKjvCJUmCTShZeToVN1f20A4NzF6S4YnftSrSNR7vzEiJAA64BO408mF5gJ8kFMRCC5+FheTBim9uok0="
+ - secure: "O41Wnu4KASFdQ87KZ3h8+/IEz8OlqvOhZIYNI04PpoZVLtqU7v2ccmQsnKCTnMeuyz0qxALhpkkjsX23ZhpxzIyDPo35t0LhyLK/UAy2jgFuNltd2E+LdUJgzp4HDpz4m114P3V1E7THKAyj9wzUVAeMfoCJtsWRYj58wHlyiIg="
+ - secure: "ajHcxM0oVCCKYquH6J6pUVo+Lnv6qmli95Cj+aiyENkIMRY/775jN2LRFjV+X2GdWAWOHJME1ylOQn2acIOshwFIDOz3ygOyZcb7MOLoaAYrDwCXZMgxLHWom4CVmKQOpJswjAjFioEuDWqeLUFK+TATefgQxamznqFQcx3nvpw="
before_install:
-- if [[ "$TRAVIS_TAG" =~ ^v.+$ || (( "$TRAVIS_BRANCH" = "master" || "$TRAVIS_BRANCH" = "develop" ) && "$TRAVIS_PULL_REQUEST" = "false") ]] ; then SHOULD_PUBLISH=0; fi
-- if (( $SHOULD_PUBLISH == 0)) ; then openssl aes-256-cbc -K $encrypted_aa756c3a201c_key -iv $encrypted_aa756c3a201c_iv -in secrets.tar.enc -out secrets.tar -d; tar xvf secrets.tar; fi
+- if [[ "$TRAVIS_TAG" =~ ^v.+$ || (( "$TRAVIS_BRANCH" = "master" || "$TRAVIS_BRANCH" = "develop" || "$TRAVIS_BRANCH" = "travis-test") && "$TRAVIS_PULL_REQUEST" = "false") ]] ; then SHOULD_PUBLISH=0; fi
+- if (( $SHOULD_PUBLISH == 0)) ; then openssl aes-256-cbc -K $encrypted_ffa7f5a14ad6_key -iv $encrypted_ffa7f5a14ad6_iv -in secrets.tar.enc -out secrets.tar -d; tar xvf secrets.tar; fi
after_success:
- if (( $SHOULD_PUBLISH == 0)) ; then sbt ++$TRAVIS_SCALA_VERSION publishSigned; fi
- if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then bash <(curl -s https://codecov.io/bash); elif [[ "$TRAVIS_BRANCH" = "master" || "$TRAVIS_BRANCH" = "develop" ]]; then bash <(curl -s https://codecov.io/bash); fi
View
Binary file not shown.

0 comments on commit 0a9877f

Please sign in to comment.