This repository was archived by the owner on Aug 18, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 99git config --global user.name " Travis CI"
1010
1111echo " Cloning docs repo..."
12- git clone https://${GH_TOKEN} @github.com/codeoverflow-org/chatoverflow-gh-pages docs
12+ git clone https://${GH_TOKEN} @github.com/codeoverflow-org/chatoverflow-gh-pages --branch master --single-branch --depth 1 docs
1313
1414echo " Copying docs..."
1515cp -fR target/scala-$SCALA_MAJOR /api chatoverflow
Original file line number Diff line number Diff line change @@ -4,17 +4,20 @@ branches:
44 only :
55 - master
66language : scala
7+ jdk : openjdk8
78scala :
89 - 2.12.5
910cache :
1011 directories :
1112 - $HOME/.ivy2/cache
1213 - $HOME/.sbt
13- before_cache :
14- - rm -fv $HOME/.ivy2/.sbt.ivy.lock
15- - find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
16- - find $HOME/.sbt -name "*.lock" -print -delete
14+ before_install :
15+ - git clone https://github.com/codeoverflow-org/chatoverflow-api --branch master --single-branch --depth 1 api
1716script :
1817 - sbt ++$TRAVIS_SCALA_VERSION -Dfile.encoding=UTF8 doc
1918 - chmod +x .scripts/update-docs.sh
20- - bash .scripts/update-docs.sh
19+ - bash .scripts/update-docs.sh
20+ before_cache :
21+ - rm -fv $HOME/.ivy2/.sbt.ivy.lock
22+ - find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
23+ - find $HOME/.sbt -name "*.lock" -print -delete
You can’t perform that action at this time.
0 commit comments