diff options
| author | Alban Peignier | 2012-04-11 15:19:12 +0200 |
|---|---|---|
| committer | Alban Peignier | 2012-04-11 15:19:12 +0200 |
| commit | 3f85a06d82eac57548c94adfc2bce6cba5889445 (patch) | |
| tree | 0efd94885f786bab3f79a80c5fe8536e4ee55074 | |
| parent | 3c45396308bd187e22d0e78ddad48bb8e588a535 (diff) | |
| download | chouette-core-3f85a06d82eac57548c94adfc2bce6cba5889445.tar.bz2 | |
Add ci tasks for jenkins
| -rw-r--r-- | config/database.yml.ccontrol | 13 | ||||
| -rw-r--r-- | lib/tasks/ci.rake | 6 |
2 files changed, 19 insertions, 0 deletions
diff --git a/config/database.yml.ccontrol b/config/database.yml.ccontrol new file mode 100644 index 000000000..e040adce2 --- /dev/null +++ b/config/database.yml.ccontrol @@ -0,0 +1,13 @@ +development: + adapter: jdbcpostgresql + database: chouette2_test + encoding: utf8 + username: chouette + password: chouette + +test: + adapter: jdbcpostgresql + database: chouette2_test + encoding: utf8 + username: chouette + password: chouette diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake new file mode 100644 index 000000000..4c5252621 --- /dev/null +++ b/lib/tasks/ci.rake @@ -0,0 +1,6 @@ +namespace :ci do + task :prepare do + cp "config/database.yml.ccontrol", "config/database.yml" + end + task :build => ["ci:prepare", "spec"] +end |
