Skip to content

Commit

Permalink
travis config (#144)
Browse files Browse the repository at this point in the history
* travis config

* fix script
  • Loading branch information
semenodm authored Feb 14, 2020
1 parent b4edce5 commit 30dbb49
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
dist: xenial
sudo: false

language: scala
Expand All @@ -9,15 +10,26 @@ jdk:
scala:
- 2.12.10

branches:
only:
- master
env:
global:
- secure: tBOyynXYgFDhOPOtJ2LRNMr/KhTDnZBq3U/xPM5Ogwjfz9Mr5unYr8blqWvl6jvcqyAW7TdLtRGO+PSJ3NHmgUQKLy/W2Yd2BbeSyiix2Ggt08vycyj+1ML4d2vfMzBen8xYH7q+aD/hMaQ/WfZ5DmTlYZOSHt2MjNw9nplv5MSBLjQV/Ak/b+l0/+T/AUIikS8iv5y/xaYkG2NqgDk5wTP6eBsxxP+FEtExwxPOQjpS2tBq8ovJ5lguClAID0NGNE+srWp1//RWNv+Yn1ncATQhlXNTYzsn7nqNHeLg1ZrH86QKJgB9ur6Ic1jr7Hy2qaV0eQW0CRFSl6QOI2QK2ifL7U8wsfkRNI1BGSObYMXUDmEeXbWXLk6iVNQFu5CWFPHmyMjNl7nszEJRyEYQbPoamHq+7xCrvbUK9wzO6Q86X5SCT4scZgNCvC4ssxp0QUSuzB/6j1/NBuWyVzrgb7Q9hcyp4ILiG8yBRv522KrTSCNb1V7GBOMCZZLymUEqmlxvanjUfBg7akwgQS2lN6ujJrGAMCSqzE76zFYWKWBp5flfm4jrVluBG6tEqYP+sDjvfboFosevKD8IFjOX/7Evr2Z22o48yifElCXsocirpBvPAVmCCjTPiqMQ3oSLJr7EpjIn8UTiTZNagnliqWXxeHM45RyFb8EZ/qyD+oA=
- secure: 2Rm/uwROyxBOdGxmgWafCN0U7PPm1m50afdixIqK7hA1LPGgJwgZEK8lzDgOWkoQdy/rvQXror8BxJC4WjCyvR16w0UxfOYTWoP0Qa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ABNNO6gZ6F9nSsE24ZdofNq2mGvFqGinGuyvfuvSooJ34rNrJuoN3M/0W+qBBf8qh16yDWA9LiyDe+Xv0F7TzlAKLcFHejIL60l4iUObJdaK5m8jUTXIoGyQie8AhTBFARMl4+f/3wpd0IS5U6hr9U0tg7QpdCVKcWieh0a0dumrR9tf7R8R5wyXW3g=

before_install:
- if [[ -n "${TRAVIS_TAG}" && "${TRAVIS_PULL_REQUEST}" = "false" ]]; then
openssl aes-256-cbc -K $encrypted_8a4bd8b95e8a_key -iv $encrypted_8a4bd8b95e8a_iv -in .travis/secrets.tar.enc -out .travis/local.secrets.tar -d; tar xv -C .travis -f .travis/local.secrets.tar;
fi

script:
- sbt ++$TRAVIS_SCALA_VERSION clean coverage test scalafmtCheck scalafmtSbtCheck

after_success:
- sbt ++$TRAVIS_SCALA_VERSION coverageReport coveralls
- if [[ -n "${TRAVIS_TAG}" && "${TRAVIS_PULL_REQUEST}" = "false" ]]; then
sbt -Dsbt.color=always -Dsbt.supershell=false ++$TRAVIS_SCALA_VERSION releaseEarly;
fi
- bash <(curl -s https://codecov.io/bash)

before_cache:
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
Expand Down
Binary file modified .travis/secrets.tar.enc
Binary file not shown.

0 comments on commit 30dbb49

Please sign in to comment.