Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit 83dea9e

Browse files
committed
Reload sbt on travis install and fix scala version parsing
1 parent 16bf181 commit 83dea9e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.scripts/update-docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
set -ev
3-
SCALA_MAJOR=$(echo $TRAVIS_SCALA_VERSION | grep '^\d+\.\d+' -o)
3+
SCALA_MAJOR=$(echo $TRAVIS_SCALA_VERSION | egrep '^[0-9]+\.[0-9]+' -o)
44

55
# Update the java-/scaladocs on https://github.com/codeoverflow-org/chatoverflow-gh-pages
66

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ cache:
1313
- $HOME/.sbt
1414
before_install:
1515
- git clone https://github.com/codeoverflow-org/chatoverflow-api --branch master --single-branch --depth 1 api
16+
- sbt ++$TRAVIS_SCALA_VERSION reload
1617
script:
1718
- sbt ++$TRAVIS_SCALA_VERSION -Dfile.encoding=UTF8 doc
1819
- chmod +x .scripts/update-docs.sh

0 commit comments

Comments
 (0)