Skip to content

Commit

Permalink
Attempt build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HairyFotr committed Jun 13, 2015
1 parent 9daae40 commit 7ab3d3a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
@@ -1,10 +1,12 @@
language: scala
scala:
- 2.11.6
jdk:
- openjdk6
- openjdk7
- oraclejdk7
- oraclejdk8
install:
- sudo apt-get update -qq
- sudo apt-get install -qq bc
- sudo apt-get install -qq tesseract-ocr gocr ocrad
script:
- ./runbot -c
9 changes: 9 additions & 0 deletions runbot
Expand Up @@ -104,6 +104,15 @@ if [ ! -e "lib/$bitly.jar" ]; then
fi
cp+=":lib/$bitly.jar"

if [ "$(which scalac)" == "" ]; then
scalaver="2.11.6"
echo "trying to get scala-$scalaver"
wget http://downloads.typesafe.com/scala/$scalaver/scala-$scalaver.tgz &> /dev/null
tar -xvzf scala-$scalaver.tgz
PATH="$PATH:scala-$scalaver/bin"
[ "$(which scalac)" == "" ] && echo "getting scala-$scalaver failed" && exit
fi

args="$1"
bot="haibot"
outdir="bin"
Expand Down

0 comments on commit 7ab3d3a

Please sign in to comment.