Skip to content

Commit

Permalink
Add auto publish of website to Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
torkelrogstad committed May 31, 2019
1 parent d57aeb7 commit a378cd1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Expand Up @@ -51,15 +51,15 @@ stages:
- name: release
if: ((branch = master AND type = push) OR (tag IS present)) AND NOT fork

script: sbt ++$TRAVIS_SCALA_VERSION coverage test &&
sbt ++$TRAVIS_SCALA_VERSION core/coverageReport &&
sbt ++$TRAVIS_SCALA_VERSION coverageAggregate &&
sbt ++$TRAVIS_SCALA_VERSION coveralls

jobs:
include:
- env: TEST="bitcoin-s test suite"
script:
sbt ++$TRAVIS_SCALA_VERSION coverage test &&
sbt ++$TRAVIS_SCALA_VERSION core/coverageReport &&
sbt ++$TRAVIS_SCALA_VERSION coverageAggregate &&
sbt ++$TRAVIS_SCALA_VERSION coveralls
# run ci-release only if previous stages passed
- stage: release
script: sbt ci-release
# run website push only if previous stages passed
- script: sbt docs/docusaurusPublishGhpages

0 comments on commit a378cd1

Please sign in to comment.