Permalink
Browse files

Cookbook for Sqlite PPA

  • Loading branch information...
1 parent 28657a3 commit 4444f8f5ed1056824a97e083f3549c810ef41c20 Martin Meredith committed Jan 8, 2013
Showing with 34 additions and 0 deletions.
  1. +34 −0 ci_environment/sqlite/recipes/ppa.rb
@@ -0,0 +1,34 @@
+#
+# Cookbook Name:: sqlite3
+# Recipe:: ppa
+#
+# Copyright 2012-2013, Travis CI Development Team <contact@travis-ci.org>
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+case node['platform']
+when "ubuntu"
+ apt_repository "travis_ci_sqlite3" do
+ uri "http://ppa.launchpad.net/travis-ci/sqlite3/ubuntu"
+ distribution node['lsb']['codename']
+ components ['main']
+
+ key "75E9BCC5"
+ keyserver "keyserver.ubuntu.com"
+
+ action :add
+ end
+end
+
+include_recipe "sqlite3::default"

0 comments on commit 4444f8f

Please sign in to comment.