[DRE-commits] [ruby-rails-assets-perfect-scrollbar] 03/03: enable autopkgtest

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Fri Sep 23 15:38:51 UTC 2016


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository ruby-rails-assets-perfect-scrollbar.

commit b11efa99eb1bb07e02646388e4a2a3d373ef7e08
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Fri Sep 23 20:25:47 2016 +0530

    enable autopkgtest
---
 debian/changelog        |  5 +++--
 debian/control          |  1 +
 debian/tests/control    |  3 +++
 debian/tests/smoke-test | 29 +++++++++++++++++++++++++++++
 4 files changed, 36 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a931eb1..4fc4e29 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,9 @@
-ruby-rails-assets-perfect-scrollbar (0.6.12+dfsg-1) UNRELEASED; urgency=medium
+ruby-rails-assets-perfect-scrollbar (0.6.12+dfsg-1) unstable; urgency=medium
 
   * New upstream release
+  * Enable autopkgtest
 
- -- Pirate Praveen <praveen at debian.org>  Fri, 23 Sep 2016 20:15:58 +0530
+ -- Pirate Praveen <praveen at debian.org>  Fri, 23 Sep 2016 21:06:44 +0530
 
 ruby-rails-assets-perfect-scrollbar (0.6.10+dfsg-2) unstable; urgency=medium
 
diff --git a/debian/control b/debian/control
index 9a71828..fdaf914 100644
--- a/debian/control
+++ b/debian/control
@@ -11,6 +11,7 @@ Standards-Version: 3.9.8
 Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-rails-assets-perfect-scrollbar.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-rails-assets-perfect-scrollbar.git
 Homepage: http://noraesae.github.io/perfect-scrollbar
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-rails-assets-perfect-scrollbar
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..3e31a36
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: smoke-test
+Depends: @, rails, ruby-coffee-script, ruby-sqlite3, ruby-spring
+Restrictions: needs-recommends
diff --git a/debian/tests/smoke-test b/debian/tests/smoke-test
new file mode 100755
index 0000000..53f3f4d
--- /dev/null
+++ b/debian/tests/smoke-test
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+exec 2>&1
+set -ex
+
+
+smoke() {
+cd $ADTTMP
+rails new foo-$1
+cd foo-$1
+
+cat >> app/assets/stylesheets/application.scss <<EOF
+ at import "$1"
+EOF
+
+
+cat >> app/assets/javascripts/application.js <<EOF
+# =require $1
+EOF
+
+cat >> Gemfile <<EOF
+gem "rails-assets-$1", "~> 0.6.12"
+EOF
+
+bundle install --local
+bundle exec rake assets:precompile
+}
+
+smoke perfect-scrollbar

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rails-assets-perfect-scrollbar.git



More information about the Pkg-ruby-extras-commits mailing list