Improving travis functionality
[wolf] / bin / buildtravisexec.sh
index 622943250fcbe162aa4284fb673983fee9ad0a30..84c870cf7897730006a53d71810902f468998bd8 100755 (executable)
@@ -20,9 +20,10 @@ mkdir -p tmp/deps/
 
 SBCL_HOME="" tmp/sbcl/bin/sbcl --core tmp/sbcl/lib/sbcl/sbcl.core --no-sysinit --no-userinit \
   --eval "(require 'asdf)" \
-  --eval '(setf asdf:*central-registry* (list #p"tmp/deps/"))' \
+  --eval "(asdf:initialize-source-registry '(:source-registry (:tree \"${PWD}/tmp/deps\") :IGNORE-INHERITED-CONFIGURATION))" \
   --eval "(asdf:load-system :cl-ppcre)" \
   --eval "(asdf:load-system :docgen)" \
+  --eval "(push :travis *features*)" \
   --eval "(asdf:clear-output-translations)" \
   --eval '(sb-ext:save-lisp-and-die "travissbcl" :executable t)' \
 
@@ -30,7 +31,7 @@ chmod +x travissbcl
 travisname=travissbcl-$(git rev-parse --short HEAD)
 mv travissbcl $travisname
 
-echo "You should upload via the command: scp $travisname nami:/opt/travis/sbcls/style-checker/"
+echo "You should upload via the command: scp $travisname nami:/var/travis/sbcls/style-checker/"
 echo "You should also set travisname in .travis.yml to $travisname"
 
 rm -rf tmp