Browse files

Change travis-ci file to use default lein test task

  • Loading branch information...
1 parent 2801a63 commit 7805f95c5f58755c957910800edfbd1f2405a7e6 @xeqi xeqi committed Oct 7, 2013
Showing with 1 addition and 25 deletions.
  1. +0 −1 .travis.yml
  2. +1 −1 test/clojars/test/test_helper.clj
  3. +0 −23 tools/reindex.sql
View
1 .travis.yml
@@ -1,3 +1,2 @@
language: clojure
lein: lein2
-script: lein2 with-profiles test,dev,default test
View
2 test/clojars/test/test_helper.clj
@@ -17,7 +17,7 @@
(def test-config {:db {:classname "org.sqlite.JDBC"
:subprotocol "sqlite"
- :subname "data/test_db"}
+ :subname "data/test/db"}
:key-file "data/test/authorized_keys"
:repo "data/test/repo"
:event-dir "data/test/events"
View
23 tools/reindex.sql
@@ -1,23 +0,0 @@
---
--- Rebuild the SQLite search index
---
--- Use this if the search segments get corrupted and you start seeing
--- errors like these when searching:
---
--- SQL error or missing database (SQL logic error or missing database)
--- Error: database disk image is malformed
---
-
-begin;
-delete from search;
-insert into search (id, jar_name, group_name, content)
- select id, jar_name, group_name,
- jar_name || ' ' ||
- group_name || ' ' ||
- version || ' ' ||
- coalesce(authors, '') || ' ' ||
- user || ' ' ||
- coalesce(description, '')
- from jars
- group by group_name, jar_name;
-commit;

0 comments on commit 7805f95

Please sign in to comment.