From e5c3d2d7d134a7c44a812c12f9b5d9735abee3c5 Mon Sep 17 00:00:00 2001 From: Ben Fradet Date: Sun, 7 May 2017 21:29:32 +0100 Subject: [PATCH] Make sure sbt is executable in travis --- .travis.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3371d67ae..947633b66 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,6 +25,9 @@ install: - gem install jekyll -v 3.2.1 - gem install jekyll-redirect-from +before_script: + - sudo chmod +x /usr/local/bin/sbt + script: - sbt ++$TRAVIS_SCALA_VERSION test:fastOptJS - sbt ++$TRAVIS_SCALA_VERSION orgScriptCI @@ -33,6 +36,12 @@ after_success: - bash <(curl -s https://codecov.io/bash) - sbt ++$TRAVIS_SCALA_VERSION orgAfterCISuccess +before_cache: + - du -h -d 1 $HOME/.ivy2/cache + - du -h -d 2 $HOME/.sbt/ + - find $HOME/.sbt -name "*.lock" -type f -delete + - find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete + cache: directories: - $HOME/.sbt/0.13/dependency @@ -40,9 +49,3 @@ cache: - $HOME/.sbt/launchers - $HOME/.ivy2/cache - $HOME/.nvm - -before_cache: - - du -h -d 1 $HOME/.ivy2/cache - - du -h -d 2 $HOME/.sbt/ - - find $HOME/.sbt -name "*.lock" -type f -delete - - find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete \ No newline at end of file